Skip to content

Rotate

Rotation configuration of an object.

Properties

Methods

  • copy

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

Properties#

alignment class-attribute instance-attribute #

alignment: Optional[Alignment] = None

The alignment of the rotation.

angle instance-attribute #

angle: Number

The rotation in clockwise radians.

Methods#

copy #

copy(
    *,
    angle: Optional[Number] = None,
    alignment: Optional[Alignment] = None,
) -> Rotate

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