New to Kendo UI for jQueryStart a free 30-day trial

Transform

methods

Gets or sets the transformation of the element.

Parameters:transformkendo.geometry.Transformation

The transformation to apply to the element.

Returns:kendo.geometry.Transformation

The current transformation on the element.

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

    var path = new draw.Path();
    path.moveTo(0, 0).lineTo(100, 100);

    path.transform(geom.transform().scale(2, 1));

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