SVGMaskElementBuilder Class

SVGMaskElementBuilder class

Builder class for constructing an SVG ‘mask’ element, which is used to define an alpha mask for compositing the current object into the background. This class enables the building of content within the ‘mask’ element and provides methods to set various attributes specific to the ‘mask’ element in SVG.

public class SVGMaskElementBuilder : SVGElementBuilder<SVGMaskElement>, ICompositeElementBuilder, 
    IConditionalProcessingAttributeSetter, ICoreAttributeSetter, 
    IDocumentElementEventAttributeSetter, IGlobalEventAttributeSetter, 
    IPresentationAttributeSetter, IRectAttributeSetter

Constructors

NameDescription
SVGMaskElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGMaskElement)
BuildElement(Document)
MaskContentUnits(CoordinateUnits)Sets the ‘maskContentUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the contents of the mask.
MaskUnits(CoordinateUnits)Sets the ‘maskUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the mask’s attributes.

See Also