PathOperationScale

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
scale <mPath> by <mScale>
Associationscom.livecode.canvas
Summary

Apply a scale to a path.

Parameters
NameTypeDescription
mScale

An expression which evaluates to a list of numbers.

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
scale tPath by [2,2]
Description

Scales mPath by mScale.

Tagscanvas