how to do make a working gradient mask in html5 canvas?

Community Beginner ,
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

Views

747

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , 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

Likes

Translate

Translate
Adobe Community Professional ,
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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 19, 2020 Feb 19, 2020

Copy link to clipboard

Copied

LATEST

awesome, thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines