Constructor
new module:Rectangle(positionDefinition, widthopt, heightopt, optionsopt)
Rectangle constructor
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
positionDefinition | PositionDefinition | Position in space | ||
width | Number | <optional> | 0 | Horizontal size |
height | Number | <optional> | 0 | Vertical size |
options | RectangleOptions | <optional> | Drawing options |