parse_svg_doc: Parse SVG text or file into an SVGDocument or SVGElement

Description Usage Arguments Value

View source: R/parse.R

Description

Parse SVG text or file into an SVGDocument or SVGElement

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
parse_svg_doc(x, encoding = "", ..., as_html = FALSE, options = "NOBLANKS")

parse_svg_elem(
  x,
  encoding = "",
  ...,
  as_html = FALSE,
  options = "NOBLANKS",
  as_pattern = FALSE
)

Arguments

x, encoding, ..., as_html, options

options passed to xml2::read_xml()

as_pattern

parse the root node as a pattern node. Default: FALSE

Value

XMLDocument or XMLElement


coolbutuseless/minisvg documentation built on May 2, 2020, 3:15 a.m.