fractionOfDistanceThroughGlyph(for:)
Returns character index for a point inside the line fragment coordinate system.
Declaration
func fractionOfDistanceThroughGlyph(for point: CGPoint) -> CGFloatParameters
- point:
A Cgpoint that represents the point inside the line fragment.
Return Value
The fraction of distance from the upstream edge.