Redigera

Dela via


TranslateTransform Constructors

Definition

Initializes a new instance of the TranslateTransform class.

Overloads

TranslateTransform()

Initializes a new instance of the TranslateTransform class.

TranslateTransform(Double, Double)

Initializes a new instance of the TranslateTransform class and specifies the displacements in the direction of the x- and y- axes.

TranslateTransform()

Initializes a new instance of the TranslateTransform class.

public:
 TranslateTransform();
public TranslateTransform ();
Public Sub New ()

Applies to

TranslateTransform(Double, Double)

Initializes a new instance of the TranslateTransform class and specifies the displacements in the direction of the x- and y- axes.

public:
 TranslateTransform(double offsetX, double offsetY);
public TranslateTransform (double offsetX, double offsetY);
new System.Windows.Media.TranslateTransform : double * double -> System.Windows.Media.TranslateTransform
Public Sub New (offsetX As Double, offsetY As Double)

Parameters

offsetX
Double

The displacement in the direction of the x-axis.

offsetY
Double

The displacement in the direction of the y-axis.

Applies to