# Matrix

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

Source:
  - jspdf.js, line 1073

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 1267

#### rotation

Source:
  - jspdf.js, line 1237

#### scaleX

Source:
  - jspdf.js, line 1247

#### scaleY

Source:
  - jspdf.js, line 1257

#### shx

Source:
  - jspdf.js, line 1131

#### shy

Source:
  - jspdf.js, line 1118

#### sx

Source:
  - jspdf.js, line 1105

#### sy

Source:
  - jspdf.js, line 1144

#### tx

Source:
  - jspdf.js, line 1157

#### ty

Source:
  - jspdf.js, line 1170

### Methods

#### applyToPoint()

Source:
  - jspdf.js, line 1400

#### applyToRectangle()

Source:
  - jspdf.js, line 1410

#### clone()

Source:
  - jspdf.js, line 1420

Clone the Matrix

#### decompose()

Source:
  - jspdf.js, line 1328

#### inversed()

Source:
  - jspdf.js, line 1376

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

Source:
  - jspdf.js, line 1295

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 1309

Multiply the matrix with given Matrix

##### Parameters:

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

##### Returns:

Type
  Matrix

#### toString()

Source:
  - jspdf.js, line 1368