Optional ReadonlyoriginThe point it turns and scales about, from the left edge. Defaults to the middle.
Optional ReadonlyoriginThe point it turns and scales about, from the top edge. Defaults to the middle.
Optional ReadonlyrotateRotation in degrees, clockwise.
Optional ReadonlyscaleBoth scale factors at once; scaleX or scaleY beside it wins on that axis.
Optional ReadonlyscaleHorizontal scale factor.
Optional ReadonlyscaleVertical scale factor.
Optional ReadonlytranslateHorizontal movement.
Optional ReadonlytranslateVertical movement.
Moving, turning and scaling a node after layout.
CSS's transform split into fields —
translateXrather than atranslate(…)string — so a caller composing one from data need not build a string for a renderer to parse back. Composed as CSS composestranslate,rotateandscale: the node is scaled, then turned, about its origin, then moved, so the move is neither scaled nor turned.