yassilah / fabric-extensions Goto Github PK
View Code? Open in Web Editor NEWExtensions to fabric.js
License: MIT License
Extensions to fabric.js
License: MIT License
Selecting then deselecting a polyline throws an error.
To reproduce:
Make a polyline, e.g.
let arrow = new fabric.Polyline([{
x: 200,
y: 10
}, {
x: 250,
y: 50
}], {
stroke: 'green'
});
canvas.add(arrow).renderAll()
Select the line (click on it)
deselect the line by clicking somewhere else.
Expected: deselecting the line
Got: fabric-extensions.umd.js:2133 Uncaught TypeError: Cannot read property 'right' of undefined
Note that this behaviour does not show after double clicking on the line/entering then exiting editing mode
Hi @yassilah
Cool extensions, I'll definitely give it a go.
I think text vertical align is totally something that can be ported to fabric (perhaps after TS)
And I wanted you to take a look at the draggable text PRs fabricjs/fabric.js#7802 fabricjs/fabric.js#8065, since you implemented dnd as an extension.
I would like to have the ability to have a curved line with user-definable control points, e.g. https://madebyollin.github.io/fabricjs-quadratic-curve/
I'm also willing to negotiate a bounty on this feature.
Hi, I want to know if polylineControls supported Hover corner style?
I using custom-controls for polygon edit and I want if the user over top of the point to change the color It's possible
Image controls are broken if originX and originY are set to anything other than 'left' and 'top'
To reproduce:
Expected: image controls to work as usual
Got: image controls broken
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.