Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShearTransform

Describes a transformation that can be used to create the illusion of perspective.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Initializes a new instance of the ShearTransform class.

    Parameters

    • angleX: number

      The rotation angle of the x coordinates.

    • angleY: number

      The rotation angle of the y coordinates.

    • center: Point

      The rotation center.

    Returns ShearTransform

Properties

angleX

angleX: number

Gets or sets the rotation angle of the x coordinates.

angleY

angleY: number

Gets or sets the rotation angle of the y coordinates.

center

center: Point

Gets or sets the rotation center.

Accessors

Private type

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

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 createShearTransform

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

    Parameters

    Returns ShearTransform

Generated using TypeDoc