Skip to main content
0 votes
1 answer
68 views

TL;DR I’m using fabric.js + node-canvas to export a very large canvas (6600×108000) from a FabricJS JSON. On one Windows machine, await canvas.loadFromJSON(fabricJSON) hangs forever: no error no CPU ...
Shino Lex's user avatar
  • 543
0 votes
0 answers
45 views

In our application we use a combination of pdf.js and fabric.js to add fabric objects over a pdf. The application in question Is made in angular. The issue in question appears on older ios devices (...
Tupea Andrei's user avatar
1 vote
0 answers
72 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
27 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
81 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
84 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
59 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
47 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
  • 2,002
0 votes
1 answer
364 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
31 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
47 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
78 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
73 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
32 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
71 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

15 30 50 per page
1
2 3 4 5
310