sizekendo.geometry.Size|Array

The size of the rectangle or an equivalent [width, height] array.

Example

<script>
var geom = kendo.geometry;

// Using Size object
var size = new geom.Size(25, 35);
var rect1 = new geom.Rect([0, 0], size);

// Using array notation
var rect2 = new geom.Rect([0, 0], [25, 35]);

console.log("Both rectangles have same size:", rect1.equals(rect2)); // true
</script>
In this article
size
Not finding the help you need?
Contact Support