element.grob
object which is a grid
gTree
, representing an SVG element. Useful in
conjunction with grid.export
, to produce an SVG document with
elements inserted at particular points. The element (and its children)
are inserted at the point where the grob is drawn. Text can
be inserted in a similar manner with grid.textNode
.
grid.element(el, name = NULL, attrs = NULL, namespace = NULL, namespaceDefinitions = NULL, children = NULL, vp = NULL, childrenvp = NULL, asis = FALSE)
elementGrob(el, name = NULL, attrs = NULL, namespace = NULL, namespaceDefinitions = NULL, children = NULL, vp = NULL, childrenvp = NULL, asis = FALSE)
grid.textNode(text, name = NULL, vp = NULL)
textNodeGrob(text, name = NULL, vp = NULL)
These give the URIs identifying the namespaces uniquely. The elements should have names which are used as prefixes. A default namespace has "" as the name. The values here are used only for defining new namespaces and not for determining the namespace to use for this particular element.
TRUE
, SVG id attributes will be generated from the
name
with no modification so that we can easily refer to the
generated elements.
element.grob
object. For grid.textNode
a
textnode.grob
object.
grid.export