API Reference
Struct
OfficeInkPoint
A sampled point in a format-neutral ink stroke.
Inheritance
- ValueType
- OfficeInkPoint
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OfficeInkPoint.Transform
- Property OfficeInkStroke.Points
Accepted by parameters
- Method OfficeInkPoint.Equals
- Method OfficeInkPoint.op_Equality
- Method OfficeInkPoint.op_Equality
- Method OfficeInkPoint.op_Inequality
- Method OfficeInkPoint.op_Inequality
- Constructor OfficeInkStroke.OfficeInkStroke
- Method OfficeInkStroke.AddPoint
Constructors
public OfficeInkPoint(Double x, Double y, Nullable<Double> pressure = null, Nullable<Double> tiltX = null, Nullable<Double> tiltY = null, Nullable<TimeSpan> timestamp = null) #Creates an ink sample.
Parameters
- x System.Double
- y System.Double
- pressure System.Nullable{System.Double} = null
- tiltX System.Nullable{System.Double} = null
- tiltY System.Nullable{System.Double} = null
- timestamp System.Nullable{System.TimeSpan} = null
Methods
Equals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32public static Boolean op_Equality(OfficeInkPoint left, OfficeInkPoint right) #Returns:
BooleanReturns true when two samples are equal.
Parameters
- left OfficeIMO.Drawing.OfficeInkPoint
- right OfficeIMO.Drawing.OfficeInkPoint
public static Boolean op_Inequality(OfficeInkPoint left, OfficeInkPoint right) #Returns:
BooleanReturns true when two samples are different.
Parameters
- left OfficeIMO.Drawing.OfficeInkPoint
- right OfficeIMO.Drawing.OfficeInkPoint
public OfficeInkPoint Transform(OfficeTransform transform) #Returns:
OfficeInkPointReturns this sample transformed into another canvas coordinate space.
Parameters
- transform OfficeIMO.Drawing.OfficeTransform
Inherited Methods
Properties
public Double X { get; } #Horizontal coordinate in the owning canvas unit.
public Double Y { get; } #Vertical coordinate in the owning canvas unit.
public Nullable<Double> Pressure { get; } #Optional normalized pressure from 0 through 1.
public Nullable<Double> TiltX { get; } #Optional horizontal pen tilt in degrees.
public Nullable<Double> TiltY { get; } #Optional vertical pen tilt in degrees.
public Nullable<TimeSpan> Timestamp { get; } #Optional sample timestamp relative to the stroke origin.