Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ManipulationDelta Struct

Definition

Namespace:
Microsoft.UI.Input

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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


Feedback

Was this page helpful?