PathOperationTransform

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
transform <mPath> by <mTransform>
Associationscom.livecode.canvas
Summary

Apply a transform to a path.

Parameters
NameTypeDescription
mTransform

An expression which evaluates to a transform.

mPath

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

// Scale the path with a transform
transform tPath by transform with scale [2,2]
Description

Transforms the points of mPath with mTransform.

Tagscanvas