Picture.ApplyMask
From Xojo Documentation
Method
When used on a Picture with an alpha channel, this overwrites the Picture’s alpha channel with the mask data. When used on a Picture with a mask, it overwrites the current mask with a copy of the mask passed in.