StrokeIntersection Structure
StrokeIntersection Structure |
Represents the floating point index values where an intersection begins and ends on a stroke.
Definition
Visual Basic .NET Public Structure StrokeIntersection C# public struct StrokeIntersection Managed C++ public __value struct StrokeIntersection
Members Table
The following table lists the members exposed by the object.
Methods
Method Description Equals Indicates whether this instance and a specified object are equal. Inherited from ValueType . 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 . GetHashCode Returns the hash code for this instance. Inherited from ValueType . GetType Gets the Type of the current instance. Inherited from Object . MemberwiseClone Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . StrokeIntersection Creates a StrokeIntersection structure from the start and end indices. ToString Returns the fully qualified type name of this instance. Inherited from ValueType . Properties
Property Description BeginIndex Gets or sets the beginning point of the StrokeIntersection. EndIndex Gets or sets the ending point of the StrokeIntersection.
Remarks
A floating point index is a float value that represents a location somewhere between two points in the stroke. As examples, if 0.0 is the first point in the stroke and 1.0 is the second point in the stroke, 0.5 is halfway between the first and the second points. Similarly, a value of 37.25 represents a location that is 25 percent along the line between points 37 and 38 of the stroke.
Use a StrokeIntersection array to indicate multiple intersections along a stroke.
Structure Information
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8
See Also