blockly > BlockSvg > getBoundingRectangleWithoutChildren

BlockSvg.getBoundingRectangleWithoutChildren() method

Returns the coordinates of a bounding box describing the dimensions of this block alone. Coordinate system: workspace coordinates.

Signature:

getBoundingRectangleWithoutChildren(): Rect;

Returns:

Rect

Object with coordinates of the bounding box.