optionsObject

Represents an object containing the configuration options. All of the options are available in Configuration.

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("Styled Text", position, {
        font: "bold 16px Arial",
        fill: { color: "blue" },
        stroke: { color: "red", width: 1 }
    });

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