## ScaleTransform(float, float) {#scaletransform}

Scales the local geometric transformation of this TextureBrush object by the specified amounts. This method prepends the scaling matrix to the transformation.

```csharp
public void ScaleTransform(float sx, float sy)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sx | Single | The amount by which to scale the transformation in the x direction. |
| sy | Single | The amount by which to scale the transformation in the y direction. |

### See Also

* class [TextureBrush](../)
* namespace [System.Drawing](../../texturebrush/)
* assembly [Aspose.Drawing](../../../)

---

## ScaleTransform(float, float, MatrixOrder) {#scaletransform_1}

Scales the local geometric transformation of this TextureBrush object by the specified amounts in the specified order.

```csharp
public void ScaleTransform(float sx, float sy, MatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sx | Single | The amount by which to scale the transformation in the x direction. |
| sy | Single | The amount by which to scale the transformation in the y direction. |
| order | MatrixOrder | A MatrixOrder enumeration that specifies whether to append or prepend the scaling matrix. |

### See Also

* enum [MatrixOrder](../../../system.drawing.drawing2d/matrixorder/)
* class [TextureBrush](../)
* namespace [System.Drawing](../../texturebrush/)
* assembly [Aspose.Drawing](../../../)


