bbox
Returns the bounding box of this rectangle after applying the specified transformation matrix.
Example
<script>
var geom = kendo.geometry;
var rect = new geom.Rect([0, 0], [10, 10]);
// Create transformation matrix (rotation)
var matrix = geom.Matrix.rotate(45, [5, 5]);
// Get bounding box after transformation
var boundingBox = rect.bbox(matrix);
console.log("Bounding box origin:", boundingBox.origin.x.toFixed(2), boundingBox.origin.y.toFixed(2));
console.log("Bounding box size:", boundingBox.size.width.toFixed(2), boundingBox.size.height.toFixed(2));
</script>
Parameters
matrix kendo.geometry.Matrix
Transformation matrix to apply.
Returns
kendo.geometry.Rect
The bounding box after applying the transformation matrix.
In this article