SVGSwitchElementBuilder Class

SVGSwitchElementBuilder class

Builder class for creating an SVGSwitchElement, which is used to conditionally display SVG content.

public class SVGSwitchElementBuilder : SVGElementBuilder<SVGSwitchElement>, 
    IAnimationElementBuilder, ICompositeAttributeSetter, IDescriptiveElementBuilder, 
    IShapeElementBuilder

Constructors

NameDescription
SVGSwitchElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
AddA(Action<SVGAElementBuilder>)Adds an SVGAElement to the switch element using a configuration action.
AddForeignObject(Action<SVGForeignObjectElementBuilder>)Adds an SVGForeignObjectElement to the switch element using a configuration action.
AddG(Action<SVGGElementBuilder>)Adds an SVGGElement to the switch element using a configuration action.
AddImage(Action<SVGImageElementBuilder>)Adds an SVGImageElement to the switch element using a configuration action.
AddSvg(Action<SVGSVGElementBuilder>)Adds an SVGSVGElement to the switch element using a configuration action.
AddSwitch(Action<SVGSwitchElementBuilder>)Adds another SVGSwitchElement to the switch element using a configuration action.
AddText(Action<SVGTextElementBuilder>)Adds an SVGTextElement to the switch element using a configuration action.
AddUse(Action<SVGUseElementBuilder>)Adds an SVGUseElement to the switch element using a configuration action.
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGSwitchElement)
BuildElement(Document)

See Also