PathGradientBrush.TranslateTransform Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.