Manipulator2D(Int32, Single, Single) Constructor
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.
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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.