Documentation
    Preparing search index...

    Function parseSvgDocument

    • Parses an SVG document into paths (§50 document tier).

      Parameters

      Returns SvgDocument

      Paths in document order, plus the root viewBox when present.

      FourError UNTRUSTED_INPUT_REJECTED for <!DOCTYPE, <!ENTITY, other markup declarations, unknown entity references, or a size limit.

      SyntaxError for markup the tokenizer cannot read.