Stay organized with collections Save and categorize content based on your preferences.

blockly > IPositionable > getBoundingRectangle

IPositionable.getBoundingRectangle() method

Returns the bounding rectangle of the UI element in pixel units relative to the Blockly injection div.


getBoundingRectangle(): Rect | null;


Rect | null

The UI elements's bounding box. Null if bounding box should be ignored by other UI elements.