fillkendo.drawing.FillOptions

The fill options of the shape.

Example

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

    var circleGeometry = new geom.Circle([100, 100], 40);
    var circle = new draw.Circle(circleGeometry, {
        fill: {
            color: "orange",
            opacity: 0.7
        },
        stroke: { color: "darkorange", width: 3 }
    });

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