Class Matrix

Hierarchy

  • Matrix

Properties

Constructors

Properties

a: number

The entry at position [1,1] in the matrix.

b: number

The entry at position [1,2] in the matrix.

c: number

The entry at position [2,1] in the matrix.

d: number

The entry at position [2,2] in the matrix.

tx: number

The entry at position [3,1] in the matrix.

ty: number

The entry at position [3,2] in the matrix.

set: ((index: number, value: number) => {})

Type declaration

    • (index: number, value: number): {}
    • Sets Matrix value.

      Parameters

      • index: number
      • value: number

      Returns {}

    setAffine: ((a: number, b: number, c: number, d: number, tx: number, ty: number) => {})

    Type declaration

      • (a: number, b: number, c: number, d: number, tx: number, ty: number): {}
      • Parameters

        • a: number
        • b: number
        • c: number
        • d: number
        • tx: number
        • ty: number

        Returns {}

      Constructors

      Generated using TypeDoc