Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha masking doesn't work when drawing to canvas #188

Open
nadako opened this issue Mar 24, 2020 · 0 comments
Open

alpha masking doesn't work when drawing to canvas #188

nadako opened this issue Mar 24, 2020 · 0 comments

Comments

@nadako
Copy link

nadako commented Mar 24, 2020

originally FOE-55746

Reproduction Steps:

have a bitmap with alpha pixels
use it as a mask for something
draw that something to a bitmap or use in a cacheAsBitmap'd container

Actual Behavior:

alpha pixels are not considered empty for masking (so the mask is always rectangular)

Expected Behavior:

alpha pixels must be considered (at least if both mask and masked object are cacheAsBitmap'd, see https://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e0b.html#WS2d8d13466044a7332384449d1277856ffe8-8000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant