SVGEllipseElementBuilder class

SVGEllipseElementBuilder class

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

The SVGEllipseElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGEllipseElementBuilder

Methods

MethodDescription
build
build
cxSets the ‘cx’ attribute of the SVG ’ellipse’ element, specifying the x-coordinate of the center of the ellipse.
cySets the ‘cy’ attribute of the SVG ’ellipse’ element, specifying the y-coordinate of the center of the ellipse.
rxSets the ‘rx’ attribute of the SVG ’ellipse’ element, specifying the horizontal radius of the ellipse.
rySets the ‘ry’ attribute of the SVG ’ellipse’ element, specifying the vertical radius of the ellipse.
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