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

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

1.5K

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

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

Votes

Translate

Translate
Community Expert ,
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

Votes

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!

Votes

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