## Matrix::Shear(float, float) method


Applies the specified shear vector to the matrix represented by the current object.

```cpp
void System::Drawing::Drawing2D::Matrix::Shear(float shearX, float shearY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| shearX | float | The horizontal shear factor |
| shearY | float | The vertical shear factor |

## See Also

* Class [Matrix](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
## Matrix::Shear(float, float, MatrixOrder) method


Applies the specified shear vector to the matrix represented by the current object.

```cpp
void System::Drawing::Drawing2D::Matrix::Shear(float shearX, float shearY, MatrixOrder order)
```


| Parameter | Type | Description |
| --- | --- | --- |
| shearX | float | The horizontal shear factor |
| shearY | float | The vertical shear factor |
| order | MatrixOrder | The order in which the shear vector is applied to the matrix |

## See Also

* Enum [MatrixOrder](../../matrixorder/)
* Class [Matrix](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.PDF for C++](../../../)
