FabricJS Articles

Page 17 of 51

How to disable the centered scaling of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 217 Views

In this tutorial, we are going to learn how to disable the centered scaling of Ellipse using FabricJS. Ellipse is one of the various shapes provided by FabricJS. In order to create an ellipse, we will have to create an instance of fabric.Ellipse 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. Syntax new fabric.Ellipse({ centeredScaling: Boolean }: Object) Parameters options (optional) − ...

Read More

How to flip an Ellipse horizontally using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 226 Views

In this tutorial, we are going to learn how we can flip an Ellipse object horizontally using FabricJS. Ellipse is one of the various shapes provided by FabricJS. In order to create an ellipse, we will have to create an instance of fabric.Ellipse class and add it to the canvas. We can flip an ellipse object horizontally using the flipX property. Syntax new fabric.Ellipse({ flipX: Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ...

Read More

How to flip an Ellipse vertically using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 298 Views

In this tutorial, we are going to learn how we can flip an Ellipse object vertically using FabricJS. Ellipse is one of the various shapes provided by FabricJS. In order to create an ellipse, we will have to create an instance of fabric.Ellipse class and add it to the canvas. We can flip an ellipse object vertically using the flipY property. Syntax new fabric.Ellipse({ flipY: Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ...

Read More

How to hide the controlling borders of an Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 291 Views

In this tutorial, we are going to learn how to hide the controlling borders of an Ellipse using FabricJS. Ellipse is one of the various shapes provided by FabricJS. In order to create an ellipse, we will have to create an instance of fabric.Ellipse class and add it to the canvas. We can customize our controlling borders in many ways such as adding a specific color to it, a dash pattern etc. However, we can also eliminate the borders completely by using the hasBorders property. Syntax new fabric.Ellipse({ hasBorders: Boolean }: Object) Parameters ...

Read More

How to hide the controlling corners of an Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 201 Views

In this tutorial, we are going to learn how to hide the controlling corners of an Ellipse using FabricJS. Ellipse is one of the various shapes provided by FabricJS. In order to create an ellipse, we have to create an instance of fabric.Ellipse class and add it to the canvas. The controlling corners of an object allow us to increase or decrease its scale, stretch or change its position. We can customize our controlling corners in many ways such as adding a specific color to it, changing its size etc. However, we can also hide them using the hasControls property. ...

Read More

How to lock the flipping during scaling of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 218 Views

In this tutorial, we are going to learn how to lock the flipping during scaling of an Ellipse using FabricJS. Just as we can specify the position, color, opacity and dimension of an ellipse 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.Ellipse({ lockScalingFlip : Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ellipse. Using this parameter color, cursor, ...

Read More

How to lock the horizontal movement of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 238 Views

In this tutorial, we are going to learn how to lock the horizontal movement of an Ellipse using FabricJS. Just as we can specify the position, color, opacity and dimension of an ellipse 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.Ellipse({ lockMovementX: Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ellipse. ...

Read More

How to lock the horizontal scaling of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 228 Views

In this tutorial, we are going to learn how to lock the horizontal scaling of an Ellipse using FabricJS. Just as we can specify the position, color, opacity and dimension of an ellipse 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.Ellipse({ lockScalingX : Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ellipse. Using this parameter color, cursor, stroke ...

Read More

How to lock the horizontal skewing of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 244 Views

In this tutorial, we are going to learn how to lock the horizontal skewing of an Ellipse using FabricJS. Just as we can specify the position, color, opacity and dimension of an ellipse 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.Ellipse({ lockSkewingX : Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ellipse. ...

Read More

How to lock the rotation of Ellipse using FabricJS?

Rahul Gurung
Rahul Gurung
Updated on 15-Mar-2026 226 Views

In this tutorial, we are going to learn how to lock the rotation of an Ellipse using FabricJS. Just as we can specify the position, color, opacity and dimension of an ellipse object in the canvas, we can also specify whether we want it to rotate or not. This can be done by using the lockRotation property. Syntax new fabric.Ellipse({ lockRotation : Boolean }: Object) Parameters options (optional) − This parameter is an Object which provides additional customizations to our ellipse. Using this ...

Read More
Showing 161–170 of 506 articles
« Prev 1 15 16 17 18 19 51 Next »
Advertisements