Represents a 2D rectangle with position and dimensions.
Example
// Editor.Rect is a 2D axis-aligned rectangle defined by left/right/bottom/top // edges. It is used by ScreenTransform to express its anchor and offset // rectangles relative to the parent canvas. constmodel = this.pluginSystem.findInterface(Editor.Model.IModel) asEditor.Model.IModel; constscene = model.project.scene;
Represents a 2D rectangle with position and dimensions.
Example