defs.svg {easySVG} | R Documentation |
make SVG defs element
defs.svg(defs.content = NULL)
defs.content |
a character or a list, group content |
the characher type of SVG element
defs.svg(defs.content = "<text x=\"10\" y=\"20\"> an SVG element </text>")
defs.content <- list(svg1 = "<text x=\"10\" y=\"30\"> an SVG element </text>",
svg2 = "<text x=\"10\" y=\"40\"> an SVG element </text>")
defs.svg(defs.content = defs.content)