Table of Contents

Struct ManipulationDelta

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

A combined translation, scaling, rotation and expansion produced by a manipulation gesture.

public readonly struct ManipulationDelta
Inherited Members
Extension Methods

Constructors

ManipulationDelta(float, float, float, float, float)

A combined translation, scaling, rotation and expansion produced by a manipulation gesture.

public ManipulationDelta(float translationX, float translationY, float scale, float expansion, float rotation)

Parameters

translationX float

Horizontal translation in pixels.

translationY float

Vertical translation in pixels.

scale float

Scaling factor. 1 means no change.

expansion float

Change of the average radius (in pixels) between the contacts. 0 means no change.

rotation float

Rotation in radians. 0 means no change.

Properties

Expansion

Change of the average radius (in pixels) between the contacts. 0 means no change.

public float Expansion { get; }

Property Value

float

Rotation

Rotation in radians. 0 means no change.

public float Rotation { get; }

Property Value

float

Scale

Scaling factor. 1 means no change.

public float Scale { get; }

Property Value

float

TranslationX

Horizontal translation in pixels.

public float TranslationX { get; }

Property Value

float

TranslationY

Vertical translation in pixels.

public float TranslationY { get; }

Property Value

float