SVGClipPathElementBuilder class

SVGClipPathElementBuilder class

Builder class for constructing an SVG ‘clipPath’ element, which is used to define a clipping path. It enables the building of content within the ‘clipPath’ element and provides methods to set various attributes specific to the ‘clipPath’ element in SVG.

The SVGClipPathElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGClipPathElementBuilder

Methods

MethodDescription
build
build
clip_path_unitsSets the ‘clipPathUnits’ attribute of the SVG ‘clipPath’ element, specifying the coordinate system for the clipping path.
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