scaleEffect resizes uniformly or per-axis, rotationEffect rotates by a degree value around an anchor point, and transformEffect applies an arbitrary 2D affine matrix when you need scale, shear, and translate together.
For simple position changes that don’t affect layout, see offset.
scaleEffect
Scales a component uniformly or along individual axes.number
A uniform scale factor applied to both axes.
1 is the original size, 0.5 is half size, 2 is double size.object
rotationEffect
Rotates a component by the specified angle.number
required
The rotation angle in degrees. Positive values rotate clockwise.
transformEffect
Applies a 2D affine transform matrix to a component.object
required
A 2D affine transform matrix.
[a b tx; c d ty; 0 0 1]. For simple scale, rotation, or offset operations, prefer scaleEffect, rotationEffect, or offset for clarity. The transform doesn’t affect the component’s layout frame.
Identity transform (no change)