SVGGElementBuilder class

SVGGElementBuilder class

Builder class for constructing an SVG ‘g’ (group) element. The ‘g’ element is used to group SVG shapes together. Grouping elements allows for easier manipulation and styling of multiple elements as a single unit within SVG graphics.

The SVGGElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGGElementBuilder

Methods

MethodDescription
build
build
build_elementBuilds and returns an SVGElement instance based on the current configuration of the builder.
attributeSets or updates an attribute on an SVG element.

See Also