Constructor
new Transformation(x, y, scaleX, scaleY, rotation, opacity)
- Description:
- Creates a Transformation. 
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | number | The translation on the x-axis | 
| y | number | The translation on the y-axis | 
| scaleX | number | The amount of scaling on the x-axis | 
| scaleY | number | The amount of scaling on the y-axis | 
| rotation | number | Rotation, in degrees | 
| opacity | number | Opacity, ranging from 0.0 - 1.0 | 
Members
values
- Description:
- An object containing the values of this transformation. 
 
- Source:
An object containing the values of this transformation.
Methods
copy() → {Wick.Transformation}
- Description:
- Creates a copy of this transformation. 
 
- Source:
Returns:
the copied transformation.
- Type
- Wick.Transformation