Open In App

Fabric.js Rect Class Complete Reference

Last Updated : 07 Apr, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

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 rectangle means the rectangle is movable and can be stretched according to requirement, along with facilitating the customizable option when it comes to initial stroke color, height, width, fill color, or stroke width. The complete list of Rect canvas class properties are given below:

Members:


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads