FingertipPlacementRelation Constructors

Definition

Overloads

FingertipPlacementRelation()

Creates a blank instance of FingertipPlacementRelation. In order to obtain a meaningful constraint, the values of Context, OtherContext and PlacementRelation would have to be set manually.

FingertipPlacementRelation(Finger, RelativePlacement, Finger)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between finger and otherFinger.

FingertipPlacementRelation(Finger, RelativePlacement, IEnumerable<Finger>)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between finger and each of the otherFingers.

FingertipPlacementRelation(FingersContext, RelativePlacement, FingersContext)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between the fingers indicated by context and the fingers indicated by otherContext.

FingertipPlacementRelation(IEnumerable<Finger>, RelativePlacement, Finger)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between each of the fingers and otherFinger.

FingertipPlacementRelation(IEnumerable<Finger>, RelativePlacement, IEnumerable<Finger>)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between each of the fingers and each of the otherFingers.

FingertipPlacementRelation()

Creates a blank instance of FingertipPlacementRelation. In order to obtain a meaningful constraint, the values of Context, OtherContext and PlacementRelation would have to be set manually.

public FingertipPlacementRelation ();

Applies to

FingertipPlacementRelation(Finger, RelativePlacement, Finger)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between finger and otherFinger.

public FingertipPlacementRelation (Microsoft.Gestures.Finger finger, Microsoft.Gestures.RelativePlacement placementRelation, Microsoft.Gestures.Finger otherFinger);

Parameters

finger
Finger

The first Finger participating in this constraint.

placementRelation
RelativePlacement

The relation that this FingertipPlacementRelation will impose between finger and otherFinger.

otherFinger
Finger

The second Finger participating in this constraint.

Applies to

FingertipPlacementRelation(Finger, RelativePlacement, IEnumerable<Finger>)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between finger and each of the otherFingers.

public FingertipPlacementRelation (Microsoft.Gestures.Finger finger, Microsoft.Gestures.RelativePlacement placementRelation, System.Collections.Generic.IEnumerable<Microsoft.Gestures.Finger> otherFingers);

Parameters

finger
Finger

A Finger participating in this constraint.

placementRelation
RelativePlacement

The relation that the new FingertipPlacementRelation will impose between finger and otherFingers.

otherFingers
System.Collections.Generic.IEnumerable<Finger>

The new FingertipPlacementRelation constraint will impose the placementRelation relation between finger and all the fingers enumerated by otherFingers.

Applies to

FingertipPlacementRelation(FingersContext, RelativePlacement, FingersContext)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between the fingers indicated by context and the fingers indicated by otherContext.

public FingertipPlacementRelation (Microsoft.Gestures.FingersContext context, Microsoft.Gestures.RelativePlacement placementRelation, Microsoft.Gestures.FingersContext otherContext);

Parameters

context
FingersContext

The first FingersContext participating in this constraint.

placementRelation
RelativePlacement

The relation that this FingertipPlacementRelation will impose between context and otherContext.

otherContext
FingersContext

The second FingersContext participating in this constraint.

Applies to

FingertipPlacementRelation(IEnumerable<Finger>, RelativePlacement, Finger)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between each of the fingers and otherFinger.

public FingertipPlacementRelation (System.Collections.Generic.IEnumerable<Microsoft.Gestures.Finger> fingers, Microsoft.Gestures.RelativePlacement placementRelation, Microsoft.Gestures.Finger otherFinger);

Parameters

fingers
System.Collections.Generic.IEnumerable<Finger>

All fingers enumerated here will be required to comply to the placementRelation relation with respect to otherFinger.

placementRelation
RelativePlacement

The relation that the new FingertipPlacementRelation will impose between fingers and otherFinger.

otherFinger
Finger

A Finger participating in this constraint.

Applies to

FingertipPlacementRelation(IEnumerable<Finger>, RelativePlacement, IEnumerable<Finger>)

Creates a new instance of a FingertipPlacementRelation constraint, imposing the placementRelation relation between each of the fingers and each of the otherFingers.

public FingertipPlacementRelation (System.Collections.Generic.IEnumerable<Microsoft.Gestures.Finger> fingers, Microsoft.Gestures.RelativePlacement placementRelation, System.Collections.Generic.IEnumerable<Microsoft.Gestures.Finger> otherFingers);

Parameters

fingers
System.Collections.Generic.IEnumerable<Finger>

The first set of fingers participating in the constraint.

placementRelation
RelativePlacement

The relation that the new FingertipPlacementRelation will impose between fingers and otherFingers.

otherFingers
System.Collections.Generic.IEnumerable<Finger>

The second set of fingers participating in this constraint.

Applies to