Interface RaphaelMatrix

Index

Methods

Methods

public add(a: number, b: number, c: number, d: number, e: number, f: number, matrix: RaphaelMatrix): RaphaelMatrix

Parameters

  • a: number
  • b: number
  • c: number
  • d: number
  • e: number
  • f: number
  • matrix: RaphaelMatrix

Returns

RaphaelMatrix

public clone(): RaphaelMatrix

Returns

RaphaelMatrix

public invert(): RaphaelMatrix

Returns

RaphaelMatrix

public rotate(a: number, x: number, y: number)

Parameters

  • a: number
  • x: number
  • y: number

public scale(x: number, y?: number, cx?: number, cy?: number)

Parameters

  • x: number
  • y?: number optional
  • cx?: number optional
  • cy?: number optional

public split(): { dx: number; dy: number; scalex: number; scaley: number; shear: number; rotate: number; isSimple: boolean; }

Returns

{ dx: number; dy: number; scalex: number; scaley: number; shear: number; rotate: number; isSimple: boolean; }

public toTransformString(): string

Returns

string

public translate(x: number, y: number)

Parameters

  • x: number
  • y: number

public x(x: number, y: number): number

Parameters

  • x: number
  • y: number

Returns

number

public y(x: number, y: number): number

Parameters

  • x: number
  • y: number

Returns

number