optionsObject

The configuration of this element.

Example

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

    var options = {
        opacity: 0.7,
        visible: true,
        transform: geom.transform().scale(1.5, 1.5)
    };

    var circle = new draw.Circle(new geom.Circle([100, 100], 50), options);

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