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

Width

methods

Gets the rectangle width.

Returns:Number

The rectangle width.

<script>
var geom = kendo.geometry;
var rect = new geom.Rect([10, 20], [25, 35]);

// Get the width
var width = rect.width();

console.log("Rectangle width:", width); // 25
console.log("Same as size width:", width === rect.size.width); // true
</script>
Not finding the help you need?
Contact Support