Matrix Class

Namespace: Stimulsoft.System.Drawing.Drawing2D

Constructors

Constructor Description
constructor(any[] arg)  

constructor(arg: any[])

Parameters

  • arg (any[])

Properties

Property Type Description
elements number[]  

Methods

Method Returns Description
clone Matrix  
isIdentity boolean  
multiply void  
multiplyAppend void  
multiplyPrepend void  
rotate Matrix  
scale Matrix  
toString string  
transformPoints void  
translate Matrix  

Method Details

clone

clone(): Matrix

Returns Matrix


isIdentity

isIdentity(): boolean

Returns boolean


multiply

multiply(matrix2: Matrix): void

Parameters


multiplyAppend

multiplyAppend(mx: Matrix): void

Parameters


multiplyPrepend

multiplyPrepend(mx: Matrix): void

Parameters


rotate

rotate(angle: number): Matrix

Parameters

  • angle (number)

Returns Matrix


scale

scale(scaleX: number, scaleY: number): Matrix

Parameters

  • scaleX (number)
  • scaleY (number)

Returns Matrix


toString

toString(): string

Returns string


transformPoints

transformPoints(points: Point[]): void

Parameters


translate

translate(x: number, y: number): Matrix

Parameters

  • x (number)
  • y (number)

Returns Matrix