SVGForeignObjectElementBuilder class

SVGForeignObjectElementBuilder class

Builder class for constructing an SVG ‘foreignObject’ element, which allows for inclusion of external content in an SVG document. This element can contain various types of content, such as HTML and XHTML, enabling more complex graphical representations within SVG.

The SVGForeignObjectElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGForeignObjectElementBuilder

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