Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toCanvasElement for object, fixes a bug, speedUp cloneAsImage #5481

Merged
merged 2 commits into from
Jan 13, 2019

Conversation

asturur
Copy link
Member

@asturur asturur commented Jan 13, 2019

close #5472

fabric.Object.toCanvasElement will give you a canvasElement with the representation of that object
fabric.Object.cloneAsImage will use this faster method to get a fabric.Image
fabric.Object.toDataUrl will now give back the object with the right mouse position

@asturur asturur merged commit 68a6af4 into master Jan 13, 2019
@asturur asturur mentioned this pull request Jan 13, 2019
@asturur asturur deleted the dataUrlandSetCoords branch May 19, 2019 19:30
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using object.toDataURL() in zoomed canvas returns controls position misplaced
1 participant