Nodes in this category perform transformations on graphical elements and calculations involving transformation matrices.
Nodes
| Node | Details | Possible Types |
|---|---|---|
| Decompose Rotation | Extracts the rotation component (in degrees) from the input transform. | Transform → f64 |
| Decompose Scale | Extracts the scale component from the input transform. Magnitude returns the visual length of each axis (always positive, includes any skew contribution). Pure returns the isolated scale factors with rotation and skew stripped away (can be negative for flipped axes). | Transform → Vec2 |
| Decompose Skew | Extracts the skew angle (in degrees) from the input transform. | Transform → f64 |
| Decompose Translation | Extracts the translation component from the input transform. | Transform → Vec2 |
| Extract Transform | Obtains the transform of the first element in the input table, if present. | Table<Graphic> → TransformTable<Vector> → TransformTable<Raster> → TransformTable<Color> → TransformTable<GradientStops> → Transform |
| Invert Transform | Produces the inverse of the input transform, which is the transform that undoes the effect of the original transform. | Transform → Transform |
| Replace Transform | Overwrites the transform of each element in the input table with the specified transform. | Table<Graphic> → Table<Graphic>Table<Vector> → Table<Vector>Table<Raster> → Table<Raster>Table<Color> → Table<Color>Table<GradientStops> → Table<GradientStops> |
| Reset Transform | Resets the desired components of the input transform to their default values. If all components are reset, the output will be set to the identity transform. Shear is represented jointly by rotation and scale, so resetting both will also remove any shear. | Table<Graphic> → Table<Graphic>Table<Vector> → Table<Vector>Table<Raster> → Table<Raster>Table<Color> → Table<Color>Table<GradientStops> → Table<GradientStops> |