PathOperationAddPath

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
add <mSource> to <mDest>
Associationscom.livecode.canvas
Summary

Extend a path by adding another path.

Parameters
NameTypeDescription
mSource

An expression which evaluates to a path.

mDest

An expression which evaluates to a path.

Example
// Create a rectangle path
variable tPath as Path
put rectangle path of rectangle [10,10,210,60] into tPath

// Add another rectangle subpath to tPath
add rectangle path of rectangle [110,10,310,60] to tPath
Description

Adds the path defined by mSource to mDest.

Tagscanvas