ManipulationDelta Struct

Definition

Contains the accumulated transformations for the current manipulation.

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
struct ManipulationDelta
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public struct ManipulationDelta
var manipulationDelta = {
translation : /* Your value */,
scale : /* Your value */,
rotation : /* Your value */,
expansion : /* Your value */
}
Public Structure ManipulationDelta
Inheritance
ManipulationDelta
Attributes

Fields

Expansion

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

Rotation

The change in angle of rotation, in degrees.

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 2.0.

Translation

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

Applies to

See also