transform
Gets or sets the transformation of the element. Inherited from Element.transform
Example
<div id="surface" style="width: 250px; height: 250px;"></div>
<script>
    var draw = kendo.drawing;
    var geom = kendo.geometry;
    var rect = new geom.Rect([50, 50], [100, 80]);
    var image = new draw.Image("https://demos.telerik.com/kendo-ui/content/web/editor/tenerife.png", rect);
    
    var transform = geom.transform().rotate(45, [100, 90]).scale(1.2, 1.2);
    image.transform(transform);
    console.log("Transform applied:", image.transform());
    var surface = draw.Surface.create($("#surface"));
    surface.draw(image);
</script>Parameters
transform kendo.geometry.Transformation
The transformation to apply to the element.
Returns
kendo.geometry.Transformation The current transformation on the element.
In this article