Open In App

Fabric.js Path Class Complete Reference

Improve
Improve
Like Article
Like
Save
Share
Report

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

The Path class in Fabric.js represents an outline of a particular shape that can be filled, stroked, and modified in different manners. The Path has a series of commands, such as “move”, “line”, “curve”, “arc”, etc, that essentially tracks the flow of the movement from one point to another point, along with being able to form incredibly complex shapes. The list of complete path canvas class properties are given below:

Members:



Last Updated : 07 Apr, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads