Pen.TranslateTransform 方法

定义

将局部几何转换平移指定尺寸。Translates the local geometric transformation by the specified dimensions. 此方法将平移添加到转换前。This method prepends the translation to the transformation.

重载

TranslateTransform(Single, Single, MatrixOrder)

按指定的顺序将局部几何变换平移指定的尺寸。Translates the local geometric transformation by the specified dimensions in the specified order.

TranslateTransform(Single, Single)

将局部几何转换平移指定尺寸。Translates the local geometric transformation by the specified dimensions. 此方法将平移添加到转换前。This method prepends the translation to the transformation.

TranslateTransform(Single, Single, MatrixOrder)

按指定的顺序将局部几何变换平移指定的尺寸。Translates the local geometric transformation by the specified dimensions in the specified order.

public:
 void TranslateTransform(float dx, float dy, System::Drawing::Drawing2D::MatrixOrder order);
public void TranslateTransform (float dx, float dy, System.Drawing.Drawing2D.MatrixOrder order);
member this.TranslateTransform : single * single * System.Drawing.Drawing2D.MatrixOrder -> unit
Public Sub TranslateTransform (dx As Single, dy As Single, order As MatrixOrder)

参数

dx
Single

X 方向的转换值。The value of the translation in x.

dy
Single

Y 方向的转换值。The value of the translation in y.

order
MatrixOrder

应用转换的顺序(在前面添加或在后面追加)。The order (prepend or append) in which to apply the translation.

适用于

TranslateTransform(Single, Single)

将局部几何转换平移指定尺寸。Translates the local geometric transformation by the specified dimensions. 此方法将平移添加到转换前。This method prepends the translation to the transformation.

public:
 void TranslateTransform(float dx, float dy);
public void TranslateTransform (float dx, float dy);
member this.TranslateTransform : single * single -> unit
Public Sub TranslateTransform (dx As Single, dy As Single)

参数

dx
Single

X 方向的转换值。The value of the translation in x.

dy
Single

Y 方向的转换值。The value of the translation in y.

适用于