Matrix.Translate
Translate(float, float, MatrixOrder)
在指定的顺序下,将指定的平移向量应用于此 Matrix。
public void Translate(float offsetX, float offsetY, MatrixOrder order)
| 参数 | 类型 | 描述 |
|---|---|---|
| offsetX | 单精度 | 偏移 X。 |
| offsetY | 单精度 | 偏移 Y。 |
| order | MatrixOrder | 该顺序。 |
另请参见
- enum MatrixOrder
- class Matrix
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Translate(float, float)
使用(默认)Prepend 顺序将指定的平移向量应用于此 Matrix。
public void Translate(float tx, float ty)
| 参数 | 类型 | 描述 |
|---|---|---|
| tx | 单精度 | 该 tx。该 tx。该 tx。 |
| ty | 单精度 | 该 ty。该 ty。该 ty。 |
另请参见
- class Matrix
- namespace Aspose.Imaging
- assembly Aspose.Imaging