Graphics.ScaleTransform
ScaleTransform(float, float)
按指定比例缩放本地几何变换。此方法将缩放矩阵前置到变换中。
public void ScaleTransform(float sx, float sy)
| 参数 | 类型 | 描述 |
|---|---|---|
| sx | 单精度 | 在 x 轴方向上缩放变换的量。 |
| sy | 单精度 | 在 y 轴方向上缩放变换的量。 |
另请参见
- class Graphics
- namespace Aspose.Imaging
- assembly Aspose.Imaging
ScaleTransform(float, float, MatrixOrder)
按指定顺序以指定比例缩放本地几何变换。
public void ScaleTransform(float sx, float sy, MatrixOrder order)
| 参数 | 类型 | 描述 |
|---|---|---|
| sx | 单精度 | 在 x 轴方向上缩放变换的量。 |
| sy | 单精度 | 在 y 轴方向上缩放变换的量。 |
| order | MatrixOrder | 一个 MatrixOrder,指定是追加还是预先添加缩放矩阵。 |
另请参见
- enum MatrixOrder
- class Graphics
- namespace Aspose.Imaging
- assembly Aspose.Imaging