getCharNumAtPosition method
Gets the index of the character that the glyph cell bounding box contains at the specified point.
![]() ![]() |
Syntax
object.getCharNumAtPosition(point)Parameters
Return value
Type: Integer
A zero-based index of the character that is located at the given point.
Note A value of -1 indicates that no such character exists. If multiple characters exist at the specified point, getCharNumAtPosition returns the index of the character that the glyphs were rendered for last.
Standards information
- Scalable Vector Graphics: Text, Section 10.17.1
See also
Show:

