InkPoint InkPoint InkPoint InkPoint Class

Definition

Provides raw input data for a single point used in the construction of an InkStroke.

public : sealed class InkPoint : IInkPoint, IInkPoint2public sealed class InkPoint : IInkPoint, IInkPoint2Public NotInheritable Class InkPoint Implements IInkPoint, IInkPoint2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

InkPoint(Point, Single) InkPoint(Point, Single) InkPoint(Point, Single) InkPoint(Point, Single)

Creates a basic InkPoint object used in the construction of an InkStroke.

public : InkPoint(Point position, float pressure)public InkPoint(Point position, Single pressure)Public Sub New(position As Point, pressure As Single)// You can use this method in JavaScript.
Parameters
position
Point Point Point Point

The screen coordinates for the InkPoint object.

pressure
float Single Single Single

The pressure of the contact on the digitizer surface. The default is 0.5.

InkPoint(Point, Single, Single, Single, UInt64) InkPoint(Point, Single, Single, Single, UInt64) InkPoint(Point, Single, Single, Single, UInt64) InkPoint(Point, Single, Single, Single, UInt64)

Creates a complex InkPoint object used in the construction of an InkStroke.

public : InkPoint(Point position, float pressure, float tiltX, float tiltY, unsigned __int64 timestamp)public InkPoint(Point position, Single pressure, Single tiltX, Single tiltY, UInt64 timestamp)Public Sub New(position As Point, pressure As Single, tiltX As Single, tiltY As Single, timestamp As UInt64)// You can use this method in JavaScript.
Parameters
position
Point Point Point Point

The screen coordinates for the InkPoint object.

pressure
float Single Single Single

The pressure of the contact on the digitizer surface. The default is 0.5.

tiltX
float Single Single Single

The plane angle between the Y-Z plane and the plane containing the Y axis and the axis of the input device. The default is 0.

tiltY
float Single Single Single

The plane angle between the X-Z plane and the plane containing the X axis and the axis of the input device. The default is 0.

timestamp
unsigned __int64 UInt64 UInt64 UInt64

The timestamp for the first InkPoint of an InkStroke, or when an entire InkStroke is pasted or loaded.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

Position Position Position Position

The X, Y coordinates of the InkPoint, in device-independent pixel (DIP) relative to the upper left-hand corner of the inking area.

public : Point Position { get; }public Point Position { get; }Public ReadOnly Property Position As Point// You can use this property in JavaScript.
Value
Point Point Point Point

The X, Y coordinates relative to the upper left-hand corner of the inking area.

See Also

Pressure Pressure Pressure Pressure

The pressure of the contact on the digitizer surface for the InkPoint.

public : float Pressure { get; }public float Pressure { get; }Public ReadOnly Property Pressure As float// You can use this property in JavaScript.
Value
float float float float

The pressure of the contact.

See Also

TiltX TiltX TiltX TiltX

Gets the plane angle between the Y-Z plane and the plane containing the Y axis and the axis of the input device.

public : float TiltX { get; }public float TiltX { get; }Public ReadOnly Property TiltX As float// You can use this property in JavaScript.
Value
float float float float

A value in the range of -90 to +90 degrees. A positive X tilt is to the right.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

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

TiltY TiltY TiltY TiltY

Gets the plane angle between the X-Z plane and the plane containing the X axis and the axis of the input device.

public : float TiltY { get; }public float TiltY { get; }Public ReadOnly Property TiltY As float// You can use this property in JavaScript.
Value
float float float float

A value in the range of -90 to +90 degrees. A positive Y tilt is toward the user.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

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

Timestamp Timestamp Timestamp Timestamp

Gets the timestamp for the first InkPoint of an InkStroke, or when an entire InkStroke is pasted or loaded.

public : ulong Timestamp { get; }public ulong Timestamp { get; }Public ReadOnly Property Timestamp As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The time, relative to the system boot time, in microseconds.

Additional features and requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

See Also