module:Path

Path class
path demo

Constructor

new module:Path(positionDefinition, instructions, isClosedopt, optionsopt)

Path constructor

Parameters:
NameTypeAttributesDefaultDescription
positionDefinitionPositionDefinition

Starting position of the Path

instructionsArray.<Instruction> | String

Set of instructions to follow to draw it

isClosedBoolean<optional>
true

Should the path close itself (add a line to the starting position)

optionsComponentOptions | LineOptions<optional>

Drawing options

Extends