Skip to content

Rotate

Rotate #

Rotation configuration of an object.

alignment #

alignment: Alignment | None = None

The alignment of the rotation.

angle #

angle: Number

The rotation in clockwise radians.

copy_with #

copy_with(
    *,
    angle: Number | None = None,
    alignment: Alignment | None = None,
) -> Rotate

Returns a copy of this object with the specified properties overridden.