Pen.TranslateTransform Method
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.
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. |
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
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)
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.
Applies to
.NET 10 (package-provided) y otras versiones
Producto | Versiones |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
- Source:
- Pen.cs
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)
Parameters
- dx
- Single
The value of the translation in x.
- dy
- Single
The value of the translation in y.
Applies to
.NET 10 (package-provided) y otras versiones
Producto | Versiones |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: