Manipulator2D(Int32, Single, Single) Constructor

Definitie

Hiermee maakt u een nieuw Manipulator2D object met de opgegeven eigenschappen.

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

De unieke id voor deze manipulator.

x
Single

De x-coördinaat van de manipulator.

y
Single

De y-coördinaat van de manipulator.

Uitzonderingen

De x-coördinaat of y-coördinaat zijn float.NaN, float.PositiveInfinityof float.NegativeInfinity. Deze waarden zijn allemaal ongeldig.

Opmerkingen

De parameters x en y moeten beide een eindig getal zijn.

Van toepassing op