Table of Contents

Class ManipulationEventArgs

Namespace
NanoByte.Common.Controls.Touch
Assembly
NanoByte.Common.WinForms.dll

Event information about a manipulation gesture (translation, scaling and/or rotation by one or more contacts).

public sealed class ManipulationEventArgs : EventArgs
Inheritance
object
ManipulationEventArgs
Inherited Members
Extension Methods

Constructors

ManipulationEventArgs(PointF, ManipulationDelta, ManipulationDelta, ManipulationVelocity, bool)

Event information about a manipulation gesture (translation, scaling and/or rotation by one or more contacts).

public ManipulationEventArgs(PointF origin, ManipulationDelta delta, ManipulationDelta cumulative, ManipulationVelocity velocity, bool isInertial)

Parameters

origin PointF

The center point of the manipulation in client coordinates.

delta ManipulationDelta

The change since the last manipulation event.

cumulative ManipulationDelta

The accumulated change since the start of the manipulation.

velocity ManipulationVelocity

The current velocities of the manipulation.

isInertial bool

Indicates that the manipulation is continuing under inertia after the user lifted all contacts.

Properties

Cumulative

The accumulated change since the start of the manipulation.

public ManipulationDelta Cumulative { get; }

Property Value

ManipulationDelta

Delta

The change since the last manipulation event.

public ManipulationDelta Delta { get; }

Property Value

ManipulationDelta

IsInertial

Indicates that the manipulation is continuing under inertia after the user lifted all contacts.

public bool IsInertial { get; }

Property Value

bool

Origin

The center point of the manipulation in client coordinates.

public PointF Origin { get; }

Property Value

PointF

Velocity

The current velocities of the manipulation.

public ManipulationVelocity Velocity { get; }

Property Value

ManipulationVelocity