InkPoint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
- pressure
-
Single
float
The pressure of the contact on the digitizer surface. The default is 0.5.
See also
- InkPoint(Point, Single, Single, Single, UInt64)
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample
Applies to
InkPoint(Point, Single, Single, Single, UInt64)
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
- 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
- InkPoint(Point, Single)
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample