fillkendo.drawing.FillOptions
The fill options of the shape.
Example
<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
var draw = kendo.drawing;
var path = new draw.Path({
fill: {
color: "#f39c12",
opacity: 0.7
},
stroke: {
color: "#e67e22",
width: 2
}
})
.moveTo(50, 50)
.lineTo(200, 50)
.lineTo(125, 200)
.close();
var surface = draw.Surface.create($("#surface"));
surface.draw(path);
</script>
In this article