Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlainMatrix

Hierarchy

  • PlainMatrix

Index

Constructors

constructor

  • Returns PlainMatrix

  • Parameters

    • width: number
    • height: number
    • scaleX: number
    • scaleY: number
    • angle: number

    Returns PlainMatrix

  • Parameters

    Returns PlainMatrix

Properties

Private _matrix

_matrix: [number, number, number, number, number, number]

Private _modified

_modified: boolean

Methods

clone

  • Returns Matrix

multiply

  • multiply(matrix: Matrix): void
  • Parameters

    Returns void

multiplyInverseForPoint

multiplyNew

  • Parameters

    Returns Matrix

multiplyPoint

multplyPoint

reset

  • reset(x?: number, y?: number): void
  • Parameters

    • Optional x: number
    • Optional y: number

    Returns void

scale

  • scale(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

update

  • update(width: number, height: number, scaleX: number, scaleY: number, angle: number, x: number, y: number): void
  • Parameters

    • width: number
    • height: number
    • scaleX: number
    • scaleY: number
    • angle: number
    • x: number
    • y: number

    Returns void

updateByInverse

  • updateByInverse(width: number, height: number, scaleX: number, scaleY: number, angle: number, x: number, y: number): void
  • Parameters

    • width: number
    • height: number
    • scaleX: number
    • scaleY: number
    • angle: number
    • x: number
    • y: number

    Returns void

Generated using TypeDoc