Allow specification of the mask transparency.