TextLine.HitTest Method
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextLine
Hit test this line, working out the cluster the x position is over and closest to.
public HitTestResult HitTest(float x);
Remarks
This method only populates the code point indicies in the returned result and the line indicies will be -1
Parameters
float x | The xcoord relative to the text block |
Returns
HitTestResult |