Fabric.js Polygon Class Complete Reference

Fabric.js is an open-source JavaScript canvas library, which provides the interactive object model built on top of the canvas element. It is also an SVG-to-canvas & canvas-to-SVG parser.

The canvas Polygon means Polygon is movable and can be stretched according to requirement, & provides the customized option when it comes to initial stroke color, height, width, fill color or stroke width. The complete list of Polygon canvas class properties are given below:

Members:



Contact Us