PathOperationLineTo

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
line to <mPoint> on <mPath>
Associationscom.livecode.canvas
Summary

Adds a line to a path.

Parameters
NameTypeDescription
mPath

An expression which evaluates to a path.

mPoint

An expression which evaluates to a point.

Example
// 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
Description

Adds a line from the previous point to mPoint on mPath.

Tagscanvas