-
Notifications
You must be signed in to change notification settings - Fork 40
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
globalCompositeOperation source-atop doesn't work #26
Labels
Comments
Is this bug solved? I also had this problem. Any help would be greatly appreciated. |
@Ivangelion I ended up using SVG instead of an image to achieve my goal.
|
globalCompositeOperation source-atop has to be applied on every object in the group of the curvedText
see modified fiddle: https://jsfiddle.net/k4963a9q/11/ |
Can you please do a pull request and I will merge it ?
Thank you
Fabry
…On Mon, Oct 16, 2017 at 5:36 AM, taifok ***@***.***> wrote:
globalCompositeOperation source-atop has to be applied on every object in
the group of the curvedText
curvedTextObjects.letters._objects.forEach((object) => {
object.globalCompositeOperation = 'source-atop';
})
see modified fiddle: https://jsfiddle.net/k4963a9q/11/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2JZmIfMYcJSjNoabjG1zdGD20E6cmNks5ssyOVgaJpZM4HDSBy>
.
--
Fabrizio Parrella
----
Download OurSticky
Add Persistent Notes anywhere on any webpage, they will reappear when
you re-open the
page.https://chrome.google.com/webstore/detail/ourstickys/oficbemndigeiiennldcdfcklocpkggd
|
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For regular text objects, the globalCompositeOperation = source-atop works to prevent the text from going outside the canvas background shape.
For curved text objects, that property doesn't do anything.
See fiddle: https://jsfiddle.net/rivdiv/k4963a9q/2/ (click both buttons)
The text was updated successfully, but these errors were encountered: