ReadonlymatrixMatrix composed of the transform's position, rotation, and translation.
Compose via Transform2D.compose.
ReadonlypositionPosition.
Rotation in radians.
ReadonlyscaleScale.
ReadonlyworldZ value (layer).
Get rotation in degrees.
Set rotation in degrees.
Optionalmat: Mat2DOptionalparent: LocalTransform2DLikeDecompose mat (or this transform's matrix) into position, rotation, and scale.
Optionalmat: Mat2DLikeOptional, decompose from this matrix
A Transform2D representing a transform in some local space (e.g., parented in a scene graph).
Has an additional LocalTransform2D.worldMatrix composed via LocalTransform2D.composeWorld.