transformkendo.geometry.Transformation

The transformation to apply to this element. Inherited from Element.transform

Example

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

    var position = new geom.Point(50, 50);
    var text = new draw.Text("Rotated text", position, {
        font: "16px Arial",
        transform: geom.transform().rotate(45, [50, 50])
    });

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