Function: textLinkAt()
ts
function textLinkAt(lines, base, dx, dy, oracle?): TextLink | null;Experimental
The link under a point, for pointer handling: dx, dy are the point's offset from the label anchor in screen px (+y down), before the label's offset and rotation (angle, degrees clockwise) are undone here. null when no linked run is there.
Parameters
| Parameter | Type |
|---|---|
lines | TextRunLines |
base | TextRunBase & object |
dx | number |
dy | number |
oracle? | FontMetricsOracle |
Returns
TextLink | null