Gsk.MaskMode.LUMINANCE – gtk4 Reference Manual
LUMINANCE
Description:
LUMINANCE
Use the luminance of the mask, multiplied by mask alpha