# matrix

## Procs | |

Shear | Shear the transform on either or both axes. |
---|---|

decompose | Decomposes a matrix into scale, shift and rotation. |

get_x_shift | The X pixel offset of this matrix |

get_y_shift | The Y pixel offset of this matrix |

## Proc Details

### Shear

Shear the transform on either or both axes.

- x - X axis shearing
- y - Y axis shearing

### decompose

Decomposes a matrix into scale, shift and rotation.

If other operations were applied on the matrix, such as shearing, the result will not be precise.

Negative scales are now supported. =)

### get_x_shift

The X pixel offset of this matrix

### get_y_shift

The Y pixel offset of this matrix