module:Rectangle

Basic rectangle
rectangle demo

Constructor

new module:Rectangle(positionDefinition, widthopt, heightopt, optionsopt)

Rectangle constructor

Parameters:
NameTypeAttributesDefaultDescription
positionDefinitionPositionDefinition

Position in space

widthNumber<optional>
0

Horizontal size

heightNumber<optional>
0

Vertical size

optionsRectangleOptions<optional>

Drawing options

Extends