Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RotationTransform

Rotates an object around a specific point.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Initializes a new instance of the RotationTransform class.

    Parameters

    • angle: number

      The angle in degrees of clockwise rotation.

    • center: Point

      The rotation center.

    Returns RotationTransform

Properties

angle

angle: number

Gets or sets the angle in degrees of clockwise rotation.

center

center: Point

Gets or sets the rotation center.

Accessors

Private type

  • get type(): "rotation"
  • Returns "rotation"

Static identity

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

  • Returns the transformation that is defined by the specified description.

    Parameters

    Returns Transform

Static createRotationTransform

  • Returns the rotation transform that is defined by the specified description.

    Parameters

    Returns RotationTransform

Generated using TypeDoc