Interface: IBoundedElement

Properties

getBoundingRectangle

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

Returns

non-null Blockly.utils.Rect Object with coordinates of the bounded element.

moveBy

Move the element by a relative offset.

Parameter

dx

number

Horizontal offset in workspace units.

dy

number

Vertical offset in workspace units.