ManipulationDelta
ManipulationDelta
ManipulationDelta
ManipulationDelta
Struct
Definition
Contains the accumulated transformations for the current manipulation.
public : struct ManipulationDeltapublic struct ManipulationDeltaPublic Structure ManipulationDelta// You can use this struct in JavaScript.
- 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
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.
public : field float Expansionpublic field float ExpansionPublic Field Expansion// You can use this field in JavaScript.
Rotation Rotation Rotation Rotation
The change in angle of rotation, in degrees.
public : field float Rotationpublic field float RotationPublic Field Rotation// You can use this field in JavaScript.
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.
public : field float Scalepublic field float ScalePublic Field Scale// You can use this field in JavaScript.