Редагувати

Поділитися через


Manipulator2D(Int32, Single, Single) Constructor

Definition

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)

Parameters

id
Int32

The unique ID for this manipulator.

x
Single

The x-coordinate of the manipulator.

y
Single

The y-coordinate of the manipulator.

Exceptions

The x-coordinate or y-coordinate are float.NaN, float.PositiveInfinity, or float.NegativeInfinity. These values are all invalid.

Remarks

The x and y parameters must both be a finite number.

Applies to