0
Community Beginner
,
/t5/animate-discussions/how-to-do-make-a-working-gradient-mask-in-html5-canvas/td-p/10932946
Feb 18, 2020
Feb 18, 2020
Copy link to clipboard
Copied
how to do make a working gradient mask in html5 canvas?
TOPICS
Missing feature
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Community Expert
,
Feb 19, 2020
Feb 19, 2020
Hi.
You're gonna need to use an AlphaMaskFilter:
https://www.createjs.com/docs/easeljs/classes/AlphaMaskFilter.html
Please see this answer so you can learn how to apply this filter in Animate CC:
https://community.adobe.com/t5/animate/how-to-write-a-mask-code-in-easeljs/td-p/9995444
Regards,
JC
Community Expert
,
/t5/animate-discussions/how-to-do-make-a-working-gradient-mask-in-html5-canvas/m-p/10933670#M201502
Feb 19, 2020
Feb 19, 2020
Copy link to clipboard
Copied
Hi.
You're gonna need to use an AlphaMaskFilter:
https://www.createjs.com/docs/easeljs/classes/AlphaMaskFilter.html
Please see this answer so you can learn how to apply this filter in Animate CC:
https://community.adobe.com/t5/animate/how-to-write-a-mask-code-in-easeljs/td-p/9995444
Regards,
JC
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
YRngnK
AUTHOR
Community Beginner
,
LATEST
/t5/animate-discussions/how-to-do-make-a-working-gradient-mask-in-html5-canvas/m-p/10935697#M201531
Feb 19, 2020
Feb 19, 2020
Copy link to clipboard
Copied
awesome, thanks!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more