API Reference
OfficeInkPoint
A sampled point in a format-neutral ink stroke.
Inheritance
- ValueType
- OfficeInkPoint
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method OfficeInkPoint.Transform
- Property OfficeInkStroke.Points
Accepted by parameters 7
- 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, Double? pressure = null, Double? tiltX = null, Double? tiltY = null, TimeSpan? timestamp = null) #Creates an ink sample.
Parameters
- x System.Double
- y System.Double
- pressure System.Double? = null
- tiltX System.Double? = null
- tiltY System.Double? = null
- timestamp System.TimeSpan? = null
Methods
public Boolean Equals(OfficeInkPoint other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Drawing.OfficeInkPoint
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #BooleanIndicates whether this instance and a specified object are equal.
Parameters
- obj System.Object?
- The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.
public override Int32 GetHashCode() #Int32Returns the hash code for this instance.
Returns
A 32-bit signed integer that is the hash code for this instance.
public static Boolean op_Equality(OfficeInkPoint left, OfficeInkPoint right) #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) #BooleanReturns true when two samples are different.
Parameters
- left OfficeIMO.Drawing.OfficeInkPoint
- right OfficeIMO.Drawing.OfficeInkPoint
public OfficeInkPoint Transform(OfficeTransform transform) #OfficeInkPointReturns this sample transformed into another canvas coordinate space.
Parameters
- transform OfficeIMO.Drawing.OfficeTransform