SVGPatternElementBuilder Class

SVGPatternElementBuilder class

Builder class for constructing an SVG ‘pattern’ element, which is used to define a pattern to be used for filling graphics elements within SVG. This class provides methods to set various attributes specific to the ‘pattern’ element and to build its content.

public class SVGPatternElementBuilder : SVGElementBuilder<SVGPatternElement>, 
    ICompositeElementBuilder, ICoreAttributeSetter, IGlobalEventAttributeSetter, 
    IPresentationAttributeSetter, IPreserveAspectRatioAttributeSetter, IRectAttributeSetter, 
    IViewBoxAttributeSetter

Constructors

NameDescription
SVGPatternElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGPatternElement)
BuildElement(Document)
Href(string)Sets the ‘href’ attribute of the SVG ‘pattern’ element, specifying a reference to another pattern which this pattern inherits attributes from.
PatternContentUnits(CoordinateUnits)Sets the ‘patternContentUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the contents of the pattern.
PatternTransform(Func<TransformBuilder, TransformBuilder>)Sets the ‘patternTransform’ attribute of the SVG ‘pattern’ element, applying a transformation to the pattern.
PatternUnits(CoordinateUnits)Sets the ‘patternUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the pattern’s x, y, width, and height.

See Also