PathOperationLineTo
Type
statement
Summary
Adds a line to a path.
Syntax
line to <mPoint> on <mPath>
Description
Adds a line from the previous point to mPoint on mPath.
Parameters
Name | Type | Description |
---|---|---|
mPath | An expression which evaluates to a path. | |
mPoint | An expression which evaluates to a point. |
Examples
// Create a new empty path
variable tPath as Path
put the empty path into tPath
// Begin a new subpath of tPath
move to point [25, 50] on tPath
// Continue path with a line to 50,100
line to [50,100] on tPath