Struct InkTracePoint
Represents a single point in an ink trace. Coordinates are in
ink coordinate units (typically HIMETRIC, 0.01 mm). Maps to a
coordinate tuple inside an InkML <trace> element.
Inherited Members
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public struct InkTracePoint
Constructors
InkTracePoint(double, double)
Creates a new point with the specified X and Y coordinates.
Declaration
public InkTracePoint(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y |
InkTracePoint(double, double, double)
Creates a new point with X, Y, and pressure.
Declaration
public InkTracePoint(double x, double y, double pressure)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y | |
| double | pressure |
Properties
Pressure
The optional pressure value (0.0–1.0). null when
the trace data does not include pressure.
Declaration
public double? Pressure { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
X
The X coordinate.
Declaration
public double X { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
The Y coordinate.
Declaration
public double Y { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
ToString()
Returns the point formatted as an InkML coordinate string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |