Compartir a través de


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 Leave Site Indicates whether this instance and a specified object are equal. Inherited from ValueType Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave Site Returns the hash code for this instance. Inherited from ValueType Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
StrokeIntersection Creates a StrokeIntersection structure from the start and end indices.
ToString Leave Site Returns the fully qualified type name of this instance. Inherited from ValueType Leave Site.

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