• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
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
Overrides
ValueType.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX