blockly > FlyoutButton > getBoundingRectangle

FlyoutButton.getBoundingRectangle() method

Returns the coordinates of a bounded element describing the dimensions of the element. Coordinate system: workspace coordinates.

Signature:

getBoundingRectangle(): Rect;

Returns:

Rect

Object with coordinates of the bounded element.