# Matrix

#### new Matrix(sx, shy, shx, sy, tx, ty)

Source:
  - jspdf.js, line 670

A matrix object for 2D homogenous transformations:
| a b 0 |
| c d 0 |
| e f 1 |
pdf multiplies matrices righthand: v' = v x m1 x m2 x ...

##### Parameters:

Name | Type | Description
--- | --- | ---
`sx` | number |
`shy` | number |
`shx` | number |
`sy` | number |
`tx` | number |
`ty` | number |

### Members

#### isIdentity

Source:
  - jspdf.js, line 860

#### rotation

Source:
  - jspdf.js, line 830

#### scaleX

Source:
  - jspdf.js, line 840

#### scaleY

Source:
  - jspdf.js, line 850

#### shx

Source:
  - jspdf.js, line 724

#### shy

Source:
  - jspdf.js, line 711

#### sx

Source:
  - jspdf.js, line 698

#### sy

Source:
  - jspdf.js, line 737

#### tx

Source:
  - jspdf.js, line 750

#### ty

Source:
  - jspdf.js, line 763

### Methods

#### applyToPoint()

Source:
  - jspdf.js, line 1011

#### applyToRectangle()

Source:
  - jspdf.js, line 1021

#### clone()

Source:
  - jspdf.js, line 1031

Clone the Matrix

#### decompose()

Source:
  - jspdf.js, line 929

#### inversed()

Source:
  - jspdf.js, line 987

#### join(separator) → {string}

Source:
  - jspdf.js, line 898

Join the Matrix Values to a String

##### Parameters:

Name | Type | Description
--- | --- | ---
`separator` | string | Specifies a string to separate each pair of adjacent elements of the array. The separator is converted to a string if necessary. If omitted, the array elements are separated with a comma (","). If separator is an empty string, all elements are joined without any characters in between them.

##### Returns:

A string with all array elements joined.

Type
  string

#### multiply(matrix) → {Matrix}

Source:
  - jspdf.js, line 910

Multiply the matrix with given Matrix

##### Parameters:

Name | Type | Description
--- | --- | ---
`matrix` |  |

##### Returns:

Type
  Matrix

#### toString()

Source:
  - jspdf.js, line 970