TransformOperationScale |
Type | statement |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | scale <mTransform> by <mScale>
|
Associations | com.livecode.canvas |
Summary | Apply a scale to a transform.
|
Parameters | Name | Type | Description |
---|
mTransform | | An expression which evaluates to a transform.
|
mScale | | An expression which evaluates to a list of 1 or 2 numbers, the x-axis scale and y-axis scale, or the uniform scale when only a single value is given.
|
|
Example |
variable tTransform
put the identity transform into tTransform
scale tTransform by [0.5]
scale tTransform by [2.2, 3]
|
Description | Apply the given scale to mTransform. This is equivalent to concatenating mTransform with a new scale transform.
|
Tags | canvas |