---
title: "SVGPolygonElementBuilder class"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/"
product: "Aspose.SVG for Python via .NET API References"
---


## 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
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/__init__/#) | Constructs a new instance of SVGPolygonElementBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/build/#aspose.svg.dom.Document) |  |
| [build](/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/build/#aspose.svg.SVGPolygonElement) |  |
| [build_element](/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/build_element/#aspose.svg.dom.Document) | Builds and returns an SVGElement instance based on the current configuration of the builder. |
| [attribute](/svg/python-net/aspose.svg.builder/svgpolygonelementbuilder/attribute/#str-str) | Sets or updates an attribute on an SVG element. |



### See Also
* module [`aspose.svg.builder`](..)
* class [`ISVGElementBuilder`](/svg/python-net/aspose.svg.builder/isvgelementbuilder)
