Open In App

Fabric.js Triangle 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 triangle means the triangle is movable and can be stretched according to requirements that can be customized when it comes to initial stroke color, height, width, fill color, or stroke width. The complete list of Triangle canvas properties are given below:

Members:

Article Tags :