The C1PinchGestureEventArgs type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetPosition(UIElement) |
Returns the position of the gesture's starting point relative to a given UIElement.
(Inherited from C1GestureEventArgs.) |
|
GetPosition(UIElement, Double) |
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.
(Inherited from C1MultiTouchGestureEventArgs.) |
|
GetPosition(UIElement, Int32) |
Returns the position of either of the two touch points (0 or 1) relative to
the UIElement provided.
(Inherited from C1MultiTouchGestureEventArgs.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
DistanceRatio |
Returns the ratio of the current distance between touchpoints / the original distance
between the touchpoints.
|
|
GestureOrigin |
The point, in unrotated screen coordinates, where the gesture occurred.
(Inherited from C1GestureEventArgs.) |
|
GestureOrigin2 |
The second touch point's initial position
(Inherited from C1MultiTouchGestureEventArgs.) |
|
Handled |
If an event handler sets this to true, it stops event bubbling.
(Inherited from C1GestureEventArgs.) |
|
OriginalSource |
The first hit-testable item under the touch point. Determined by a combination of order in the tree and
Z-order.
(Inherited from C1GestureEventArgs.) |
|
TotalAngleDelta |
Returns the difference in angle between the current touch positions and the original
touch positions.
|
|
TouchPosition |
The point, in unrotated screen coordinates, where the first touchpoint is now.
(Inherited from C1GestureEventArgs.) |
|
TouchPosition2 |
The second touch point. The first is stored in C1GestureEventArgs.
(Inherited from C1MultiTouchGestureEventArgs.) |