Expand description
The static transform / transform3d wire types mirroring the animated
transform channels.
Structs§
- Transform
- A static 2D transform mirroring the animated transform channels. Every field
is optional; unset channels stay at identity (no translation, unit scale, no
rotation).
scaleis uniform;scaleX/scaleYoverride a single axis. - Transform3d
- The
transform3dstyle: a 3D perspective transform composited onto a promoted layer’s quad (seesuper::style::Style::transform3d). Every field is optional; unset channels stay at identity. Canonical application order aroundorigin: scale → rotateX → rotateY → rotateZ → translate, then the self-perspectiveprojection. - Transform3d
Origin - The
transform3dpivot: a per-axisLengthresolved against the node’s border box ("50%"= center, a number = logical pixels from the top-left).