Struct RawPointerPoint
[PrivateApi]
public struct RawPointerPoint : IEquatable<RawPointerPoint>
- Implements
- Inherited Members
Constructors
RawPointerPoint()
public RawPointerPoint()
Properties
ContactRect
Gets the bounding rectangle of the contact area (typically from touch input).
public Rect ContactRect { get; set; }
Property Value
Position
Pointer position, in client DIPs.
public Point Position { readonly get; set; }
Property Value
Pressure
Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.
public float Pressure { readonly get; set; }
Property Value
- float
A value from 0 to 1.0. The default value is 0.5.
Twist
Gets the clockwise rotation in degrees of a pen device around its own major axis (such as when the user spins the pen in their fingers).
public float Twist { readonly get; set; }
Property Value
- float
A value between 0.0 and 359.0 in degrees of rotation. The default value is 0.0.
XTilt
Gets the plane angle between the Y-Z plane and the plane that contains the Y axis and the axis of the input device (typically a pen/stylus).
public float XTilt { readonly get; set; }
Property Value
- float
The value is 0.0 when the finger or pen is perpendicular to the digitizer surface, between 0.0 and 90.0 when tilted to the right of perpendicular, and between 0.0 and -90.0 when tilted to the left of perpendicular. The default value is 0.0.
YTilt
Gets the plane angle between the X-Z plane and the plane that contains the X axis and the axis of the input device (typically a pen/stylus).
public float YTilt { readonly get; set; }
Property Value
- float
The value is 0.0 when the finger or pen is perpendicular to the digitizer surface, between 0.0 and 90.0 when tilted towards the user, and between 0.0 and -90.0 when tilted away from the user. The default value is 0.0.
Methods
Equals(RawPointerPoint)
public readonly bool Equals(RawPointerPoint other)
Parameters
other
RawPointerPoint
Returns
Equals(object)
public override readonly bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RawPointerPoint, RawPointerPoint)
public static bool operator ==(RawPointerPoint left, RawPointerPoint right)
Parameters
left
RawPointerPointright
RawPointerPoint
Returns
operator !=(RawPointerPoint, RawPointerPoint)
public static bool operator !=(RawPointerPoint left, RawPointerPoint right)
Parameters
left
RawPointerPointright
RawPointerPoint