Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Feb 18, 2020 Feb 18, 2020

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

TOPICS
Missing feature
1.8K
Translate
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

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

Translate
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

Translate
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
LATEST

awesome, thanks!

Translate
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