Corona DOCS state: “The mask image must be bordered by at least 3 pixels of black space on all four sides.” What is the reason for this and what troubles I may encounter if I decide not to follow this rule? Masks seem to work just fine (at least in the simulator) also without the 3px border. I need to achieve two things with a single mask:
-
Fade small part of the image
-
Hide/Unhide the mask
For this reason I created a small mask without 3px borders (see the attached image). I shift the mask horizontally to “hide” or “unhide” the effect of mask. If I followed the 3px rule I would need to create a huge mask that covers the whole image. Is it really required?