SVGPolygonElementBuilder class

SVGPolygonElementBuilder class

Builder class for constructing an SVG ‘polygon’ element. The ‘polygon’ element is used to create a graphic that contains at least three sides. This class provides methods to set various attributes and animate the polygon element.

The SVGPolygonElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGPolygonElementBuilder

Methods

MethodDescription
build
build
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