Udostępnij za pośrednictwem


PointerPointProperties.XTilt Property

Definition

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:
 property float XTilt { float get(); };
float XTilt();
public float XTilt { get; }
var single = pointerPointProperties.xTilt;
Public ReadOnly Property XTilt As Single

Property Value

Single

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.

Remarks

This property is used in conjunction with YTilt to indicate the tilt away from normal of the input device.

Applies to