blockly > ZoomControls > getBoundingRectangle
ZoomControls.getBoundingRectangle() method
Returns the bounding rectangle of the UI element in pixel units relative to the Blockly injection div.
Signature:
getBoundingRectangle(): Rect | null;
Returns:
Rect | null
The UI elements's bounding box. Null if bounding box should be ignored by other UI elements.