Manipulator2D(Int32, Single, Single) Manipulator2D(Int32, Single, Single) Manipulator2D(Int32, Single, Single) Manipulator2D(Int32, Single, Single) Constructor

Definizione

Crea un nuovo oggetto Manipulator2D con le proprietà specificate.Creates a new Manipulator2D object with the specified properties.

public:
 Manipulator2D(int id, float x, float y);
public Manipulator2D (int id, float x, float y);
new System.Windows.Input.Manipulations.Manipulator2D : int * single * single -> System.Windows.Input.Manipulations.Manipulator2D
Public Sub New (id As Integer, x As Single, y As Single)

Parametri

id
Int32 Int32 Int32 Int32

ID univoco per questo manipolatore.The unique ID for this manipulator.

x
Single Single Single Single

Coordinata X per il manipolatore.The x-coordinate of the manipulator.

y
Single Single Single Single

Coordinata Y per il manipolatore.The y-coordinate of the manipulator.

Eccezioni

La coordinata x o la coordinata y sono float.NaN, float.PositiveInfinity o float.NegativeInfinity.The x-coordinate or y-coordinate are float.NaN, float.PositiveInfinity, or float.NegativeInfinity. Questi valori sono tutti non validi.These values are all invalid.

Commenti

I parametri x e y devono essere entrambi un numero finito.The x and y parameters must both be a finite number.

Si applica a