The computePath methods accepts various parameters and you can, for example apply a corner radius to all of the polygon's corners:
PolygonBorder
This package has also a dedicated ShapeBorder called PolygonBorder, so that you can easily apply a color, a border, an image to the polygon or clip anything through Clip.shape.
This package comes with two specialized polygons:
A RegularConvexPolygon which can create triangles, tetragons, pentagons, etc.
A RegularStarPolygon which can create various star shapes.
I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others.
Changelog
Please see the Changelog page to know what's recently changed.
Contributions
Feel free to contribute to this project.
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.