語言

Manipulator2D(Int32, Single, Single) 建構函式

定義

建立一個具有指定屬性的新 Manipulator2D 物件。

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)

參數

id
Int32

這個操控者的唯一ID。

x
Single

操作器的 x 座標。

y
Single

操作器的Y座標。

例外狀況

x-座標或y-座標為 float.NaN、 float.PositiveInfinity、 float.NegativeInfinity或 。 這些數值都不成立。

備註

x 和 y 參數都必須是有限數。

適用於