Class DOMMatrix

Hierarchy
Index
Constructors

constructor

Properties

a

a: number

b

b: number

c

c: number

d

d: number

e

e: number

f

f: number

is2D

is2D: boolean

m11

m11: number

m12

m12: number

m13

m13: number

m14

m14: number

m21

m21: number

m22

m22: number

m23

m23: number

m24

m24: number

m31

m31: number

m32

m32: number

m33

m33: number

m34

m34: number

m41

m41: number

m42

m42: number

m43

m43: number

m44

m44: number
Accessors

isIdentity

  • get isIdentity(): boolean
Methods

flipX

flipY

multiply

multiplySelf

preMultiplySelf

rotate

  • rotate(angle: number, originX?: number, originY?: number): DOMMatrix

rotateAxisAngle

  • rotateAxisAngle(x: number, y: number, z: number, angle: number): DOMMatrix

rotateAxisAngleSelf

  • rotateAxisAngleSelf(x: number, y: number, z: number, angle: number): DOMMatrix

rotateFromVector

  • rotateFromVector(x: number, y: number): DOMMatrix

rotateFromVectorSelf

  • rotateFromVectorSelf(x: number, y: number): DOMMatrix

rotateSelf

  • rotateSelf(angle: number, originX?: number, originY?: number): DOMMatrix

scale

  • scale(scale: number, originX?: number, originY?: number): DOMMatrix

scale3d

  • scale3d(scale: number, originX?: number, originY?: number, originZ?: number): DOMMatrix

scale3dSelf

  • scale3dSelf(scale: number, originX?: number, originY?: number, originZ?: number): DOMMatrix
  • Parameters
    • scale: number
    • Default value originX: number = 0
    • Default value originY: number = 0
    • Default value originZ: number = 0
    Returns DOMMatrix

scaleNonUniform

  • scaleNonUniform(scaleX: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix

scaleNonUniformSelf

  • scaleNonUniformSelf(scaleX: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix
  • Parameters
    • scaleX: number
    • Default value scaleY: number = 1
    • Default value scaleZ: number = 1
    • Default value originX: number = 0
    • Default value originY: number = 0
    • Default value originZ: number = 0
    Returns DOMMatrix

scaleSelf

  • scaleSelf(scale: number, originX?: number, originY?: number): DOMMatrix

skewX

skewXSelf

skewY

skewYSelf

toArray

  • toArray(): number[]

translate

  • translate(tx: number, ty: number, tz?: number): DOMMatrix

translateSelf

  • translateSelf(tx: number, ty: number, tz?: number): DOMMatrix