API reference
API reference
Select your platform
No SDKs available
No versions available

Mask2D Class

Extends Mask
Base class for all masks that are 2D.

Fields

offsetX : float
Signature
float offsetX
offsetY : float
x offset
Signature
float offsetY
rotation : float
y offset
Signature
float rotation
scaleX : float
rotation in degrees
Signature
float scaleX
scaleY : float
scale in x direction
Signature
float scaleY
shearX : float
scale in y direction
Signature
float shearX
shearY : float
shear in x direction
Signature
float shearY