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

這個操作工具的唯一識別碼。

x
Single

操作工具的 X 座標。

y
Single

操作工具的 Y 座標。

例外狀況

x-座標或 y-座標可為 float.NaNfloat.PositiveInfinityfloat.NegativeInfinity。 這些值全部無效。

備註

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

適用於