Editar

Compartir a través de


PathGradientBrush.TranslateTransform Method

Definition

Applies the specified translation to the local geometric transform. This method prepends the translation to the transform.

Overloads

TranslateTransform(Single, Single)

Applies the specified translation to the local geometric transform. This method prepends the translation to the transform.

TranslateTransform(Single, Single, MatrixOrder)

Applies the specified translation to the local geometric transform in the specified order.

TranslateTransform(Single, Single)

Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs

Applies the specified translation to the local geometric transform. This method prepends the translation to the transform.

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)

Parameters

dx
Single

The value of the translation in x.

dy
Single

The value of the translation in y.

Examples

For an example, see SetBlendTriangularShape.

Applies to

TranslateTransform(Single, Single, MatrixOrder)

Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs

Applies the specified translation to the local geometric transform 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)

Parameters

dx
Single

The value of the translation in x.

dy
Single

The value of the translation in y.

order
MatrixOrder

The order (prepend or append) in which to apply the translation.

Examples

For an example, see SetBlendTriangularShape.

Applies to