Class RotateEventArgs
FormsGestures Rotate event arguments.
Inherited Members
Namespace: FormsGestures
Assembly: FormsGestures.dll
Syntax
public class RotateEventArgs : BaseGestureEventArgs
  Constructors
RotateEventArgs(RotateEventArgs, Listener)
constructor
Declaration
public RotateEventArgs(RotateEventArgs source = null, Listener newListener = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RotateEventArgs | source | |
| Listener | newListener | 
Properties
Angle
Current angle of gesture (degrees)
Declaration
public virtual double Angle { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| Double | 
DeltaAngle
Change in angle since last gesture event (in degrees)
Declaration
public virtual double DeltaAngle { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| Double | 
TotalAngle
Total change in angle since start of gesture (in degrees)
Declaration
public virtual double TotalAngle { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| Double | 
Methods
CalculateAngles(RotateEventArgs)
helper function used to calculate rotation angles
Declaration
protected void CalculateAngles(RotateEventArgs previous)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RotateEventArgs | previous | 
ValueFrom(RotateEventArgs)
Updates properties from the values from another instance
Declaration
public void ValueFrom(RotateEventArgs source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RotateEventArgs | source |