Helpers
Transform
Layer transform
Composition Diagram for Transform
Attribute | Type | Title | Description |
---|---|---|---|
a |
Position |
Anchor Point |
Anchor point: a position (relative to its parent) around which transformations are applied (ie: center for rotation / scale) |
p |
Position |
Position |
Position / Translation |
r |
Scalar |
Rotation |
Rotation in degrees, clockwise |
s |
Vector |
Scale |
Scale factor, |
o |
Scalar |
Opacity |
Opacity |
sk |
Scalar |
Skew |
Skew amount as an angle in degrees |
sa |
Scalar |
Skew Axis |
Direction along which skew is applied, in degrees ( |
To make the anchor point properly line up with the center of location, p
and a
should have the same value.
This example allows you to tweak transform attributes and see how the shape changes.
The anchor point is highlighted with an orange dot.
256 | |
256 | |
256 | |
256 | |
100 | |
100 | |
0 | |
0 | |
0 | |
100 |
Visual Object
Composition Diagram for Visual Object
Attribute | Type | Title | Description |
---|---|---|---|
nm |
string |
Name |
Name, as seen from editors and the like |
Marker
Defines named portions of the composition.