Skip to main content
1 vote
0 answers
59 views

I'm working on converting HTML into FabricJS objects on a canvas. I want to take arbitrary HTML and translate its visual elements into corresponding FabricJS primitives (Textbox, Rect, Circle, Image, ...
Calvin Laughlin's user avatar
0 votes
0 answers
22 views

I do not understand this relative positions in FabricJs. The docu is simple to understand, it states that setRelativeX sets the position relative to the parent, like a group. I try to use that but the ...
holz name's user avatar
  • 113
1 vote
2 answers
76 views

I tried to use the Fabric.js library to draw on the HTML5 canvas, but it does not do anything. It is an Angular 19 project. This code should be enough to use Fabric? ngAfterViewInit() { ...
holz name's user avatar
  • 113
0 votes
0 answers
76 views

I'm adding fabric rect like this: import * as fabric from 'fabric'; addBlurBox() { const rect = new fabric.Rect({ left: 100, top: 100, width: 200, height: 150, fill: '...
jpgarrett's user avatar
0 votes
0 answers
57 views

For those of you who have worked with Fabric.js, I'm building an editor and I'm trying to replicate the selection and editing behavior that canva.com has — especially how it treats groups and text ...
Alverd04's user avatar
0 votes
0 answers
41 views

I'm trying to understand the relationship between setViewportTransform vs. setZoom and absolutePan. Sadly the documentation on this seems very brief and doesn't have my answer. I have some code that ...
mmachenry's user avatar
  • 1,992
0 votes
1 answer
274 views

I’m building a Vue 3 project with Vite, and trying to integrate fabric.js (v6.7.0) to allow drawing on a PDF rendered using pdf.js. Here’s the problem: I installed fabric via: npm install fabric Then ...
Nwp _'s user avatar
  • 83
0 votes
0 answers
28 views

I'm experiencing an issue with mouse wheel/trackpad scrolling events in a MAUI Blazor app that contains a Fabric.js canvas. Problem Description: When scrolling horizontally with a trackpad, the ...
Guzun Ion's user avatar
0 votes
0 answers
39 views

Fabric.js: Text Properties (Stroke, Shadow, Background) Not Exporting Correctly to SVG I'm using Fabric.js to create and manipulate text objects on a canvas. When I export the canvas content to SVG ...
yash chapani's user avatar
1 vote
1 answer
71 views

I need to add a new container with a dynamic image inside the canvas. I checked the code and am new to learn Typescript. So I need a help here. This is render part of the code render() { const { ...
Ranjit's user avatar
  • 1,748
0 votes
0 answers
64 views

I'm trying to achieve a "bent" effect with an image in Fabric.js. Specifically, I want to manipulate the positions of the corners (for example, the top-right and bottom-right corners) of an ...
Bogdan Galata's user avatar
0 votes
0 answers
31 views

I am developing a web based application using Dancer2. I want to use Fabric.js to make an interactive drawing. However, I am unable to execute even the simplest drawing. I can make a drawing as a ...
Ljm Dullaart's user avatar
  • 5,009
0 votes
0 answers
58 views

Im writing a crop functionality for my fabric Js module in Angular. addImage(event: Event) { const input = event.target as HTMLInputElement; if (input.files && input.files[0]) { const file = ...
Bodikk's user avatar
  • 1
0 votes
0 answers
148 views

I was trying to setup fabricjs in my application. since application uses micro-frontends , I use @angular-architects/module-federation for custom builder. when I install fabricjs it breaks otherwise ...
komal sai's user avatar
  • 126
0 votes
0 answers
23 views

I'm working with Fabric.js (v5.3.0) in a Vue3 project and having trouble understanding nested group positioning. Here's my simplified setup: const rect1 = new fabric.Rect({ width: 60, height:...
x lu's user avatar
  • 19

15 30 50 per page
1
2 3 4 5
310