SVGElementBuilderT Class

SVGElementBuilder<T> class

Represents a base class for building SVG elements of type T.

public abstract class SVGElementBuilder<T> : ISVGElementBuilder
    where T : SVGElement
ParameterDescription
TThe type of SVG element this builder is responsible for creating.

Properties

NameDescription
Configurations { get; }Gets the list of configurations to be applied to the SVG element.

Methods

NameDescription
Attribute(string, string)Adds an attribute configuration to the SVG element.
virtual Build(Document)Builds the SVG element and applies all configurations to it.
virtual Build(T)Applies configurations to an existing SVG element.
BuildElement(Document)Builds the SVG element as a generic SVGElement.

See Also