fillkendo.drawing.FillOptions

The fill options of the shape.

Example

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

    var rectGeometry = new geom.Rect([0, 0], [100, 100]);
    var rect = new draw.Rect(rectGeometry, {
        fill: {
            color: "#ff6600",
            opacity: 0.8
        }
    });

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