InkPoint Constructors

Definition

Overloads

InkPoint(Point, Single)

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

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

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

InkPoint(Point, Single)

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

public:
 InkPoint(Point position, float pressure);
 InkPoint(Point const& position, float const& pressure);
public InkPoint(Point position, float pressure);
function InkPoint(position, pressure)
Public Sub New (position As Point, pressure As Single)

Parameters

position
Point

The screen coordinates for the InkPoint object.

pressure
Single

float

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

See also

Applies to

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 long long timestamp);
 InkPoint(Point const& position, float const& pressure, float const& tiltX, float const& tiltY, uint64_t const& timestamp);
public InkPoint(Point position, float pressure, float tiltX, float tiltY, ulong timestamp);
function InkPoint(position, pressure, tiltX, tiltY, timestamp)
Public Sub New (position As Point, pressure As Single, tiltX As Single, tiltY As Single, timestamp As ULong)

Parameters

position
Point

The screen coordinates for the InkPoint object.

pressure
Single

float

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

tiltX
Single

float

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
Single

float

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
UInt64

unsigned long long

uint64_t

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

See also

Applies to