CoronaSDK 2013.1126 | Released: 24 May 2013, 1:59am | What's New | Download Now
These docs are *very* out of date.
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
You will be redirected to the new docs in a few seconds.
If you are certain you want to see the old docs, click cancel.
Cancel | Continue to new docs
object.maskScaleY
Description:
Retrieves or sets the y-scale factor for the display object's corresponding mask object, if any.
Syntax:
1 2 | object.maskScaleY = value value = object.maskScaleY |
Example:
-- Image to be masked local image = display.newImageRect( "image.png", 768, 1024 ) -- Mask local mask = graphics.newMask( "circlemask.png" ) image:setMask( mask ) image.maskScaleX = 0.5 image.maskScaleY = 0.5
Parameters:
None.
Returns:
number: maskScaleY of object.
Remarks:
Supported on operating systems and platforms for build numbers shown:
- Mac OS X:Build 2011.268
- Windows:Build 2011.288
- iOS:Build 2011.268
- Android:Build 2011.288