Can someone explain why the transform is not being applied to the shape?
The second (red) square should be half the size of the first (blue) square.
http://dojo.telerik.com/@Harold@/IqoFa
<!DOCTYPE html>
<html>
<head>
<title>TransformScale</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.default.min.css">
<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/angular.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.3.914/styles/kendo.mobile.all.min.css">
<script src="http://kendo.cdn.telerik.com/2016.3.914/js/jszip.min.js"></script>
</head>
<body>
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram();
var diagram = $("#diagram").getKendoDiagram();
// Shape 1 (blue)
var shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 10, width: 200, height: 200, fill: "blue" });
diagram.addShape(shape);
// Shape 2 (red)
shape = new kendo.dataviz.diagram.Shape({ type: "rectangle", x: 10, y: 300, width: 200, height: 200, fill: "red" });
var geom = kendo.geometry;
shape.transform = geom.transform().scale(.5);
diagram.addShape(shape);
</script>
</body>
</html>