SVGCircleElementBuilder class

SVGCircleElementBuilder class

Builder class for constructing an SVG ‘circle’ element, which is used to draw circles within SVG graphics. It enables the building of content within the ‘circle’ element and provides methods to set various attributes specific to the ‘circle’ element in SVG.

The SVGCircleElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGCircleElementBuilder

Methods

MethodDescription
build
build
cxSets the ‘cx’ attribute of the SVG ‘circle’ element, specifying the x-coordinate of the center of the circle.
cySets the ‘cy’ attribute of the SVG ‘circle’ element, specifying the y-coordinate of the center of the circle.
rSets the ‘r’ attribute of the SVG ‘circle’ element, specifying the radius of the circle.
build_elementBuilds and returns an SVGElement instance based on the current configuration of the builder.
attributeSets or updates an attribute on an SVG element.

See Also