- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 566 Articles for FabricJS
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
158 Views
In this tutorial, we are going to learn how to lock the rotation of a Textbox using FabricJS. Just as we can specify the position, colour, opacity and dimension of a textbox object in the canvas, we can also specify whether we want to allow rotation or not. This can be done by using the lockRotation property. Syntax new fabric.Textbox(text: String, { lockRotation : Boolean }: Object) Parameters text − This parameter accepts a String which is the text string that we want to display inside our textbox. options (optional) − This parameter is an Object which provides ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
142 Views
In this tutorial, we are going to learn how to lock the horizontal skewing of a Textbox using FabricJS. Just as we can specify the position, colour, opacity and dimension of a textbox object in the canvas, we can also specify whether we want to stop skewing an object horizontally. This can be done by using the lockSkewingX property. Syntax new fabric.Textbox(text: String, { lockSkewingX : Boolean }: Object) Parameters text − This parameter accepts a String which is the text string that we want to display inside our textbox. options (optional) − This parameter is an Object ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
305 Views
In this tutorial, we are going to learn how to lock the horizontal scaling of a Textbox using FabricJS. Just as we can specify the position, colour, opacity and dimension of a textbox object in the canvas, we can also specify whether we want to stop scaling an object horizontally. This can be done by using the lockScalingX property. Syntax new fabric.Textbox(text: String, { lockScalingX : Boolean }: Object) Parameters text − This parameter accepts a String which is the text string that we want to display inside our textbox. options (optional) − This parameter is an Object ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
104 Views
In this tutorial, we are going to learn how to lock the horizontal movement of a Textbox using FabricJS. Just as we can specify the position, colour, opacity and dimension of a textbox object in the canvas, we can also specify whether we want it to move only in the Y-axis. This can be done by using the lockMovementX property. Syntax new fabric.Textbox(text: String, { lockMovementX: Boolean }: Object) Parameters text − This parameter accepts a String which is the text string that we want to display inside our textbox. options (optional) − This parameter is an Object ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
134 Views
In this tutorial, we are going to learn how to lock the flipping during scaling of a Textbox using FabricJS. Just as we can specify the position, colour, opacity and dimension of a textbox object in the canvas, we can also specify whether we want to stop flipping an object during scaling. This can be done by using the lockScalingFlip property. Syntax new fabric.Textbox(text: String, { lockScalingFlip : Boolean }: Object) Parameters text − This parameter accepts a String which is the text string that we want to display inside our textbox. options (optional) − This parameter is ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
119 Views
In this tutorial, we are going to learn how we can flip a Textbox object vertically using FabricJS. We can customize, stretch or move around the text written in a textbox. In order to create a textbox, we will have to create an instance of fabric.Textbox class and add it to the canvas. We can flip a textbox object vertically using the flipY property.Syntaxnew fabric.Textbox(text: String, { flipY: Boolean }: Object)Parameterstext − This parameter accepts a String which is the text string that we want to display inside our textbox.options (optional) − This parameter is an Object which provides additional ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
184 Views
In this tutorial, we are going to learn how we can flip a Textbox object horizontally using FabricJS. We can customize, stretch or move around the text written in a textbox. In order to create a textbox, we will have to create an instance of fabric.Textbox class and add it to the canvas. We can flip a textbox object horizontally using the flipX property.Syntaxnew fabric.Textbox(text: String, { flipX: Boolean }: Object)Parameterstext − This parameter accepts a String which is the text string that we want to display inside our textbox.options (optional) − This parameter is an Object which provides additional customizations to our ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
226 Views
In this tutorial, we are going to learn how to disable the selectability of a Textbox using FabricJS. We can customize, stretch or move around the text written in a textbox. In order to create a textbox, we will have to create an instance of fabric.Textbox class and add it to the canvas. In order to modify an object, we have to select it in FabricJS. However, we can change this behaviour by using the selectable property.Syntaxnew fabric.Textbox(text: String, { selectable: Boolean }: Object)Parameterstext − This parameter accepts a String which is the text string that we want to display inside ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
271 Views
In this tutorial, we are going to learn how to disable the centered scaling of Textbox using FabricJS. We can customize, stretch or move around the text written in a textbox. In order to create a textbox, we will have to create an instance of fabric.Textbox class and add it to the canvas. When being scaled via controls, assigning a true value to the centeredScaling property, uses the center as the object's origin of transformation.Syntaxnew fabric.Textbox(text: String, { centeredScaling: Boolean }: Object)Parameterstext − This parameter accepts a String which is the text string that we want to display inside our textbox.options ... Read More
![Rahul Gurung](https://www.tutorialspoint.com/assets/profiles/442556/profile/60_203348-1648528599.jpg)
82 Views
In this tutorial, we are going to learn how to disable the centered rotation of Textbox using FabricJS. We can customize, stretch or move around the text written in a textbox. In order to create a textbox, we will have to create an instance of fabric.Textbox class and add it to the canvas. By default, all objects in FabricJS use their center as the point of rotation. However, we can change this behaviour by using the centeredRotation property.Syntaxnew fabric.Textbox(text: String, { centeredRotation: Boolean }: Object)Parameterstext − This parameter accepts a String which is the text string that we want to ... Read More