blockly > IBoundedElement

IBoundedElement interface

A bounded element interface.

Signature:

export interface IBoundedElement 

Methods

Method Description
getBoundingRectangle() Returns the coordinates of a bounded element describing the dimensions of the element. Coordinate system: workspace coordinates.
moveBy(dx, dy, reason) Move the element by a relative offset.