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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.