g: Group SVG Elements

Description Usage Arguments

Description

Container used to group other SVG elements. Transformations applied to <g> are performed on all of its child elements, and attributes in <g> are inherited by them.

Usage

1
g(..., attrs, sep = "\n")

Arguments

...

character vector containing any number of SVG elements to be grouped.

attrs

list of attributes composed of ‘attribute = value’ pairs. These are SVG attributes passed to <g> that are inherited by the group's child elements.

sep

character with which the SVG elements are separated from each other.


be-pr/drawsvg documentation built on May 31, 2019, 12:41 a.m.