Struct
OfficeInkPoint
OfficeIMO.Drawing
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 double
- y double
- pressure double? = null
- tiltX double? = null
- tiltY double? = null
- timestamp System.TimeSpan? = null
Methods
Equals 2 overloads
public bool Equals(OfficeInkPoint other) #Indicates 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
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.public static bool op_Equality(OfficeInkPoint left, OfficeInkPoint right) #Returns true when two samples are equal.
Parameters
- left OfficeIMO.Drawing.OfficeInkPoint
- right OfficeIMO.Drawing.OfficeInkPoint
Returns
boolpublic static bool op_Inequality(OfficeInkPoint left, OfficeInkPoint right) #Returns true when two samples are different.
Parameters
- left OfficeIMO.Drawing.OfficeInkPoint
- right OfficeIMO.Drawing.OfficeInkPoint
Returns
boolpublic OfficeInkPoint Transform(OfficeTransform transform) #Returns this sample transformed into another canvas coordinate space.
Parameters
- transform OfficeIMO.Drawing.OfficeTransform
Returns
OfficeInkPoint