RichTextKit v0.1

HitTestResult Struct

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit

Used to return hit test information from the TextBlock.HitTest(float, float) method.

public struct HitTestResult

Inheritance

HitTestResult → ValueTypeobject

Fields

ClosestCodePointIndex

The code point index of the first code point in the cluster that the point is closest to.

ClosestLine

The zero based index of the closest line to the passed y-coordinate.

OverCodePointIndex

The code point index of the first code point in the cluster that the point is actually over, or -1 if not over a cluster.

OverLine

The zero based index of the line number the y-coordinate is directly over, or -1 if the y-coordinate is before the first line, or after the last line.