Gets the relative position between the two touch point.
0 gives you the first point whereas 1 gives you the second one.
0.5 gives you the point in the middle between both touch points.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public Point GetPosition( UIElement relativeTo, double index ) |
Visual Basic |
---|
Public Function GetPosition ( _ relativeTo As UIElement, _ index As Double _ ) As Point |
Parameters
- relativeTo
- Type: System.Windows..::..UIElement
The return value will be relative to this element.
- index
- Type: System..::..Double
The weighted factor between the touch points.