PatternMakeScaledBy |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | pattern with <mImage> scaled by <mScale>
|
Associations | com.livecode.canvas |
Summary | Creates a new scaled pattern paint.
|
Parameters | Name | Type | Description |
---|
mImage | | An expression which evaluates to an image.
|
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 tImage
put image from file "images/backgroundpattern.png" into tImage
variable tPaint
put pattern with tImage scaled by [0.5] into tPaint
|
Values | Name | Type | Description |
---|
return | | A new pattern paint based on mImage with the specified scale applied.
|
|
Description | Creates a new scaled pattern paint.
|
Tags | canvas |