blockly > IBoundedElement > getBoundingRectangle
IBoundedElement.getBoundingRectangle() method
Returns the coordinates of a bounded element describing the dimensions of the element. Coordinate system: workspace coordinates.
Signature:
getBoundingRectangle(): Rect;
Returns:
Object with coordinates of the bounded element.