Leer en inglés Editar

Compartir a través de


Pen.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.

Translates the local geometric transformation by the specified dimensions. This method prepends the translation to the transformation.

Overloads

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)

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.

C#
public void TranslateTransform(float dx, float dy, System.Drawing.Drawing2D.MatrixOrder order);

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

TranslateTransform(Single, Single)

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.

C#
public void TranslateTransform(float dx, float dy);

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