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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk