defs.svg {easySVG}R Documentation

make SVG defs element

Description

make SVG defs element

Usage

defs.svg(defs.content = NULL)

Arguments

defs.content

a character or a list, group content

Value

the characher type of SVG element

Examples

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)


[Package easySVG version 0.1.0 Index]