defs.svg: make SVG defs element

Description Usage Arguments Value Examples

Description

make SVG defs element

Usage

1
defs.svg(defs.content = NULL)

Arguments

defs.content

a character or a list, group content

Value

the characher type of SVG element

Examples

1
2
3
4
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)

ytdai/easySVG documentation built on May 29, 2019, 12:18 p.m.