ManipulationDelta ManipulationDelta ManipulationDelta ManipulationDelta ManipulationDelta Struct

Definition

Contains the accumulated transformations for the current manipulation.

public : struct ManipulationDelta
struct winrt::Windows::UI::Input::ManipulationDelta
public struct ManipulationDelta
Public Structure ManipulationDelta
var manipulationDelta = {

   expansion: /* Your value */,

   rotation: /* Your value */,

   scale: /* Your value */,

   translation: /* Your value */

}
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Expansion Expansion Expansion Expansion Expansion

The change in distance between touch contacts, as device-independent pixel (DIP). For example, if the distance between two contacts changes from 100 device-independent pixel (DIP) to 200 device-independent pixel (DIP) during a manipulation, the value of Expansion would be 100.0.

float Expansion;
float Expansion;
float Expansion;
Expansion As float;
var float = manipulationDelta.expansion;
manipulationDelta.expansion = float;

Rotation Rotation Rotation Rotation Rotation

The change in angle of rotation, in degrees.

float Rotation;
float Rotation;
float Rotation;
Rotation As float;
var float = manipulationDelta.rotation;
manipulationDelta.rotation = float;

Scale Scale Scale Scale Scale

The change in distance between touch contacts, as a percentage. For example, if the distance between two contacts changes from 100 device-independent pixel (DIP) to 200 device-independent pixel (DIP) during a manipulation, the value of Scale would be 1.0.

float Scale;
float Scale;
float Scale;
Scale As float;
var float = manipulationDelta.scale;
manipulationDelta.scale = float;

Translation Translation Translation Translation Translation

The change in x-y screen coordinates, in device-independent pixel (DIP).

Point Translation;
Point Translation;
Point Translation;
Translation As Point;
var Point = manipulationDelta.translation;
manipulationDelta.translation = Point;