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.

public class SVGClipPathElementBuilder : SVGElementBuilder<SVGClipPathElement>, 
    IAnimationElementBuilder, ICompositeAttributeSetter, IDescriptiveElementBuilder, 
    IShapeElementBuilder

Constructors

NameDescription
SVGClipPathElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
AddScript(Action<SVGScriptElementBuilder>)Adds a script element to the clipPath element.
AddText(Action<SVGTextElementBuilder>)Adds a text element to the clipPath element.
AddUse(Action<SVGUseElementBuilder>)Adds a ‘use’ element to the clipPath element.
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGClipPathElement)
BuildElement(Document)
ClipPathUnits(CoordinateUnits)Sets the ‘clipPathUnits’ attribute of the SVG ‘clipPath’ element, specifying the coordinate system for the clipping path.

See Also