bbox

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

Parameters

matrix kendo.geometry.Matrix

Transformation matrix to apply.

Returns

kendo.geometry.Rect The bounding box after applying the transformation matrix.

Example

<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>
In this article
bbox
Not finding the help you need?
Contact Support