Rahul Gurung has Published 490 Articles

How to set the width of a selection area border on a canvas using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 13:29:02

819 Views

In this article, we are going to learn how to set the width of a selection area border on a canvas using FabricJS. A selection area indicates the area selected using the mouse and all objects under that area will get selected. FabricJS allows us to adjust the width of ... Read More

How to set the color of a selection area on a canvas using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 13:24:55

906 Views

In this article, we are going to learn how to set the color of a selection area on a canvas using FabricJS. We can adjust the color using the selectionColor property.Syntaxnew fabric.Canvas(element: HTMLElement|String, { selectionColor: String }: Object)Parameterselement − This parameter is the element itself which can be derived ... Read More

How to set the border color of a selection area on a canvas using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 12:39:06

886 Views

In this article, we are going to learn how to set the border color of a selection area on a canvas using FabricJS. A selection indicates whether a group selection should be enabled or not. FabricJS allows us to adjust the border color accordingly with the selectionBorderColor property.Syntaxnew fabric.Canvas(element: HTMLElement|String, ... Read More

How to disable the interactivity of canvas using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 12:34:36

2K+ Views

In this article, we are going to learn how to disable the interactivity of canvas in FabricJS. The interactive layer on top of each object is one of the unique features of FabricJS. As soon as we initialize a canvas, it's possible to select the objects, drag them around or ... Read More

How to create a canvas with text cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:56:46

1K+ Views

In this article, we are going to create a canvas with a text cursor on hover using FabricJS. text is one of the native cursor style available which can be used in the FabricJS canvas too.FabricJS provides various types of cursors such as default, all-scroll, crosshair, col-resize, row-resize, etc. that ... Read More

How to create a canvas with progress cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:51:45

453 Views

In this article, we are going to create a canvas with a progress cursor on hover using FabricJS. progress is one of the native cursor style available which can be used in the FabricJS canvas too.FabricJS provides various types of cursors such as default, all-scroll, crosshair, col-resize, row-resize, etc. that ... Read More

How to create a canvas with help cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:36:34

432 Views

In this article, we are going to create a canvas with a help cursor on hover using FabricJS. help is one of the native cursor style available which can be used in the FabricJS canvas too. FabricJS provides various types of cursors such as default, all-scroll, crosshair, col-resize, row-resize, etc. ... Read More

How to create a canvas with wait cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:33:01

285 Views

In this article, we are going to create a canvas with a wait cursor on hover using FabricJS. wait is one of the native cursor style available which can be used in the FabricJS canvas too. FabricJS provides various types of cursors such as default, all-scroll, crosshair, col-resize, row-resize, etc. ... Read More

How to create a canvas with not-allowed cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:29:21

421 Views

In this article, we are going to create a canvas with a not-allowed cursor on hover using FabricJS. not-allowed is one of the native cursor style available which can be used in the FabricJS canvas too. FabricJS provides various types of cursors like default, all-scroll, crosshair, col-resize, row-resize, etc., that ... Read More

How to create a canvas with crosshair cursor on hover over objects using FabricJS?

Rahul Gurung

Rahul Gurung

Updated on 19-May-2022 10:24:41

835 Views

In this article, we are going to create a canvas with a crosshair cursor on hover using FabricJS. crosshair is one of the native cursor style available which can be used in the FabricJS canvas too. FabricJS provides various types of cursors like default, all-scroll, crosshair, col-resize, row-resize etc which ... Read More

Advertisements