fillkendo.drawing.FillOptions

The fill options of the shape.

Example

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

    var arcGeometry = new geom.Arc([100, 100], {
        radiusX: 40,
        radiusY: 25,
        startAngle: 45,
        endAngle: 315
    });
    var arc = new draw.Arc(arcGeometry, {
        fill: {
            color: "green",
            opacity: 0.7
        }
    });

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