Struct ManipulationDelta
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
translationXfloatHorizontal translation in pixels.
translationYfloatVertical translation in pixels.
scalefloatScaling factor.
1means no change.expansionfloatChange of the average radius (in pixels) between the contacts.
0means no change.rotationfloatRotation in radians.
0means no change.
Properties
Expansion
Change of the average radius (in pixels) between the contacts. 0 means no change.
public float Expansion { get; }
Property Value
Rotation
Rotation in radians. 0 means no change.
public float Rotation { get; }
Property Value
Scale
Scaling factor. 1 means no change.
public float Scale { get; }
Property Value
TranslationX
Horizontal translation in pixels.
public float TranslationX { get; }
Property Value
TranslationY
Vertical translation in pixels.
public float TranslationY { get; }