Skip to main content

CanvasOperationAddPath

Type

statement

Summary

Add a path to a canvas.

Syntax

add <mPath> to <mCanvas>

Description

Adds mPath to the current path of mCanvas

Parameters

NameTypeDescription

mCanvas

An expression which evaluates to a canvas.

mPath

An expression which evaluates to a path.

Examples

// 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
Thank you for your feedback!

Was this page helpful?