CanvasTextLayoutHitTest Method (Vector2, CanvasTextLayoutRegion) |
Namespace: Microsoft.Graphics.Canvas.Text
public bool HitTest( Vector2 point, out CanvasTextLayoutRegion textLayoutRegion )
Any whitespace before the end of the text, also counts as text.
Hit tests are always performed using layout bounds, not draw bounds. See LayoutBounds.