[]
Gets the position of the pointer performing the drag gesture relatively to the specified element.
public CGPoint GetPosition(UIView relativeTo)
Type | Name | Description |
---|---|---|
UIView | relativeTo | Any visual object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null. |
Type | Description |
---|---|
CGPoint |
Gets the position of the pointer or finger.
public static CGPoint GetPosition(UIGestureRecognizer args, UIView relativeTo)
Type | Name | Description |
---|---|---|
UIGestureRecognizer | args | The OriginalEventArgs instance containing the manipulation data. |
UIView | relativeTo | Any visual object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null. |
Type | Description |
---|---|
CGPoint |