fillkendo.drawing.FillOptions

The fill options of the text.

Example

<div id="surface"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var position = new geom.Point(10, 10);
    var text = new draw.Text("Filled text", position, {
        font: "18px Arial",
        fill: {
            color: "green",
            opacity: 0.8
        }
    });

    var surface = draw.Surface.create($("#surface"));
    surface.draw(text);
</script>
In this article
fill
Not finding the help you need?
Contact Support