python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
`How to get the relative position of the sub item contained in 'activeselection' in fabricjs'?
Fabricjs version: v4.6.0
const selection = new fabric.ActiveSelection(objs, { canvas })
const childs = selection.getObjects()
console.log('first child position:', childs[0].left, childs[1].top) // -1...
glk
Votes: 0
Answers: 0
canvas.loadFromJSON() showing text bulry for google fonts
I am facing this problem for a long time. I am generating the flipbook from the canvas using Fabricjs. I am changing the text content color and fonts on the fly. Everything is working fine but when I ...
kantsverma
Votes: 0
Answers: 1
How can I draw a right triangle with fabric js?
function normalTriangle() {
return new fabric.Triangle({
transparentCorners: false,
objectCaching: false,
shapeType: 'normalTriangle'
})
}
canvas = new fabric.Canvas(c...
CHEOLEON KIM
Votes: 0
Answers: 1