Constructor
new module:Path(positionDefinition, instructions, isClosedopt, optionsopt)
Path constructor
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
positionDefinition | PositionDefinition | Starting position of the Path | ||
instructions | Array.<Instruction> | | Set of instructions to follow to draw it | ||
isClosed | Boolean | <optional> | true | Should the path close itself (add a line to the starting position) |
options | ComponentOptions | | <optional> | Drawing options |
- Source