CanvasOperationAddPath

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
add <mPath> to <mCanvas>
Associationscom.livecode.canvas
Summary

Add a path to a canvas.

Parameters
NameTypeDescription
mCanvas

An expression which evaluates to a canvas.

mPath

An expression which evaluates to a path.

Example
// Add a path to the canvas
add rectangle path of rectangle [0,0,50,100] to this canvas

// Fill the canvas path
fill this canvas
Description

Adds mPath to the current path of mCanvas

Tagscanvas