Represents an unlabeled collection of strokes.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class InkSegment : IComparable<InkSegment>
Public Class InkSegment _ Implements IComparable(Of InkSegment)
public ref class InkSegment : IComparable<InkSegment^>
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
InkSegment()()() |
Creates a new instance of InkSegment.
| |
AddStroke(Stroke) |
Add a stroke to the ink segment.
| |
AddStrokes(IEnumerable<(Of <(Stroke>)>)) |
Add a collection of strokes to the ink segment.
| |
BoundingBox |
Gets the bounding box of the ink segment.
| |
BoundingBoxAspectRatio |
Gets the aspect ratio of the bounding box.
| |
BoundingBoxDiagonalAngle |
Gets the angle made by the bounding box diagonal.
| |
BoundingBoxLength |
Gets the length of the bounding box created by the strokes within the ink segment.
| |
Clear()()() |
Remove all strokes from the ink segment.
| |
CompareTo(InkSegment) |
Compares this instance to a specified ink segment and returns an indication of their relative values.
| |
Duration |
Gets the duration of the stroke.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FirstLastAngleCosine |
Gets the cosine of the angle created between the first and last points of a stroke.
| |
FirstLastAngleSine |
Gets the sine of the angle created between the first and last points of a stroke.
| |
GetFeatureValue(InkSegment..::.Features) |
Retrieve the value of a particular feature from this ink segment.
| |
GetFeatureValueFromSample(InkSegment..::.Features, InkSegment) |
Retrieve the value of a particular feature from an ink segment.
| |
GetFeatureVector()()() |
Gets the feature vector from this ink segment.
| |
GetFeatureVectorFromSample(InkSegment) |
Gets the feature vector from an ink segment.
| |
GetFeatureVectorValues()()() |
Gets the feature vector from this ink segment.
| |
GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
InitialAngleCosine |
Gets the cosine of the angle created between the first and third points of a stroke.
| |
InitialAngleSine |
Gets the sine of the angle created between the first and third points of a stroke.
| |
Load(BinaryReader) |
Load an ink segment.
| |
MaximumSpeedSquared |
Gets the squared value of the maximum speed of the stroke.
| |
MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveStroke(Stroke) |
Remove a stroke from the ink segmnent.
| |
Save(BinaryWriter) |
Serialize the ink segment.
| |
Strokes |
Gets the strokes contained within this ink segment.
| |
ToString()()() | (Inherited from Object.) | |
TotalAngleTraversed |
Gets the value of all angles made between each stroke segment.
| |
TotalAngleTraversedAbsolute |
Gets the absolute value of all angles made between each stroke segment.
| |
TotalSegmentLength |
Gets the total distance traversed by a stroke.
| |
TotalSquaredAngleTraversed |
Gets the value of all angles (squared) made between each stroke segment.
| |
TotalStrokeDistance |
Inheritance Hierarchy
Object | |
InkSegment |