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

Bbox

methods

Returns the bounding box of this circle after applying the specified transformation matrix.

Parameters:matrixkendo.geometry.Matrix

Transformation matrix to apply.

Returns:kendo.geometry.Rect

The bounding box after applying the transformation matrix.

<script>
var geom = kendo.geometry;
var circle = new geom.Circle([50, 50], 25);

// Get bounding box without transformation
var matrix = geom.Matrix.unit();
var boundingBox = circle.bbox(matrix);
console.log(boundingBox); // Rect with dimensions covering the circle

// Get bounding box with scaling transformation
var scaleMatrix = geom.Matrix.scale(2, 2);
var scaledBoundingBox = circle.bbox(scaleMatrix);
console.log(scaledBoundingBox); // Larger bounding box due to scaling
</script>
Not finding the help you need?
Contact Support