Show / Hide Table of Contents

    Class RotateEventArgs

    FormsGestures Rotate event arguments.

    Inheritance
    Object
    EventArgs
    BaseGestureEventArgs
    RotateEventArgs
    Inherited Members
    BaseGestureEventArgs.Event
    BaseGestureEventArgs.Handled
    BaseGestureEventArgs.Listener
    BaseGestureEventArgs.Cancelled
    BaseGestureEventArgs.ElementPosition
    BaseGestureEventArgs.ElementTouches
    BaseGestureEventArgs.WindowTouches
    BaseGestureEventArgs.NumberOfTouches
    BaseGestureEventArgs.Center(Point[])
    BaseGestureEventArgs.Equals(Object)
    BaseGestureEventArgs.Equals(BaseGestureEventArgs)
    BaseGestureEventArgs.GetHashCode()
    BaseGestureEventArgs.ValueFrom(BaseGestureEventArgs)
    BaseGestureEventArgs.Contains(Point)
    BaseGestureEventArgs.IsTouchCenterInView
    EventArgs.Empty
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel