SvgLocation#

Added in version 4.22.

class SvgLocation(*args, **kwargs)#

Provides information about a location in an SVG document.

The information should be considered approximate; it is meant to provide feedback for errors in an editor.

Fields#

class SvgLocation
bytes#
The byte index in document. If unknown, this will

be zero (which is also a valid value, but only if all three values are zero)

line_chars#

The char index in the line, 0-based

lines#

The line index in the document, 0-based