g: Group SVG Elements

Description Usage Arguments

View source: R/draw.R

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, collapse = "\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.

collapse

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


be-pr/drawsvg documentation built on Dec. 8, 2020, 3:34 a.m.