module:Square

Square class
square demo

Constructor

new module:Square(positionDefinition, size, optionsopt)

Square constructor

Parameters:
NameTypeAttributesDescription
positionDefinitionPositionDefinition

Top-left corner

sizeNumber

Side's length

optionsComponentOptions<optional>

Drawing options

Extends