
EaselJS: Alpha Mask Filter
EaselJS: AlphaMaskFilter reveal
'Yan wasa
30
Ƙima
—
Nau’o’i
Variety
Game da
This example demonstrates revealing an image using another image as the mask. The mask is created by drawing a shape, and then caching the shape to make an image with an alpha channel. It is then applied to the image as an mask using the AlphaMaskFilter filter. Another copy of the image is added below with a BlurFilter and ColorMatrixFilter to make the effect cooler.
Your rating
Ƙima bai isa tukuna ba
Sharhin wasa
Babu saƙonni tukuna. Fara tattaunawa.
Mai ƙirƙira
CreateJS
Ɗakin wasa
Rukuni
Variety
Nau’i
Ƙaramin wasa
An fitar
Kwanan nan
'Yan wasa
30