use.svg {easySVG} | R Documentation |
use svg
Description
The <use> element takes nodes from within the SVG document, and duplicates them somewhere else.
Usage
use.svg(id = NULL, x = NULL, y = NULL, scale, rotate, translate, skewX,
skewY, style.sheet = NULL, transform.sheet = NULL)
Arguments
id |
a character, target of the link |
x |
a number, x transform coordinate |
y |
a number, y transform coordinate |
scale |
a number. transform scale of the object |
rotate |
a vector, rotation of the object |
translate |
a vector, translate of the object |
skewX |
a number |
skewY |
a number |
style.sheet |
a vector or a chatacter, other style of the link, eg. "stroke-linecap: round" |
transform.sheet |
a vector or a chatacter, other transform of the link, |
Value
the characher type of svg element
Examples
use.svg(id = "target", x = 100, y = 200)
use.svg(id = "target", x = 100, y = 200, rotate = c(90, 100, 200))
[Package easySVG version 0.1.0 Index]