IPointerPointTransform
IPointerPointTransform
IPointerPointTransform
IPointerPointTransform
Interface
Definition
Provides generalized transformation functions.
public : interface IPointerPointTransformpublic interface IPointerPointTransformPublic Interface IPointerPointTransform// You can use this interface in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Do not call this interface directly. IPointerPointTransform is used by a GestureRecognizer to get transformation information for an input pointer.
Properties
Inverse Inverse Inverse Inverse
Gets the inverse of the specified transformation.
public : IPointerPointTransform Inverse { get; }public IPointerPointTransform Inverse { get; }Public ReadOnly Property Inverse As IPointerPointTransform// You can use this property in JavaScript.
The inverse of the pointer transformation.
Methods
TransformBounds(Rect) TransformBounds(Rect) TransformBounds(Rect) TransformBounds(Rect)
Transforms the specified bounding rectangle.
public : Rect TransformBounds(Rect rect)public Rect TransformBounds(Rect rect)Public Function TransformBounds(rect As Rect) As Rect// You can use this method in JavaScript.
The smallest, axis-aligned bounding box that encloses rect after the transformation. (An axis-aligned bounding box is one which has all sides parallel to the coordinate axes.)
Remarks
rect is typically the ContactRect associated with the input point that is transformed through the TryTransform method. rect must be recalculated as it does not change with the transformation of the input point.
This method should return an HResult that identifies whether the transformation was successful.
TryTransform(Point, Point) TryTransform(Point, Point) TryTransform(Point, Point) TryTransform(Point, Point)
Attempts to perform the transformation on the specified input point.
public : PlatForm::Boolean TryTransform(Point inPoint, Point outPoint)public bool TryTransform(Point inPoint, Point outPoint)Public Function TryTransform(inPoint As Point, outPoint As Point) As bool// You can use this method in JavaScript.
True if inPoint was transformed successfully; otherwise, false.