SVGRadialGradientElementBuilder Class

SVGRadialGradientElementBuilder class

Builder class for constructing an SVG ‘radialGradient’ element, which is used to define a radial gradient within SVG graphics. This class enables the building of content within the ‘radialGradient’ element and provides methods to set various attributes specific to the ‘radialGradient’ element in SVG.

public class SVGRadialGradientElementBuilder : SVGElementBuilder<SVGRadialGradientElement>, 
    IBaseAnimationElementBuilder, ICoreAttributeSetter, IDescriptiveElementBuilder, 
    IDocumentElementEventAttributeSetter, IGlobalEventAttributeSetter, IGradientStopElementBuilder, 
    IPresentationAttributeSetter

Constructors

NameDescription
SVGRadialGradientElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
AddAnimateTransform(Action<SVGAnimateTransformElementBuilder>)Adds an animate transform configuration to the SVG ‘radialGradient’ element.
AddScript(Action<SVGScriptElementBuilder>)Adds a script configuration to the SVG ‘radialGradient’ element.
AddStyle(Action<SVGStyleElementBuilder>)Adds a style configuration to the SVG ‘radialGradient’ element.
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGRadialGradientElement)
BuildElement(Document)
Cx(double, LengthType)Sets the ‘cx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the center of the gradient.
Cy(double, LengthType)Sets the ‘cy’ attribute of the SVG ‘radialGradient’ element, specifying the y-coordinate of the center of the gradient.
Fx(double, LengthType)Sets the ‘fx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the focal point of the gradient.
Fy(double, LengthType)Sets the ‘fy’ attribute of the SVG ‘radialGradient’ element, specifying the y-coordinate of the focal point of the gradient.
Href(string)Sets the ‘href’ attribute of the SVG ‘radialGradient’ element, specifying a reference to another gradient.
R(double, LengthType)Sets the ‘r’ attribute of the SVG ‘radialGradient’ element, specifying the radius of the gradient.

See Also