PictureEffects Xojo Plugin |

# GainEffect.Mask Property

Sets mask for the operation of the simple version of the Apply functions.

Mask as Picture {Read and Write}

#### Remarks

To limit the filtering to certain pixels then set a picture defining the mask to this parameter. Pass nil to this parameter if the filtering should not be limited to certain pixels.
The mask picture must be a 32 bit picture and must be same size as the src picture. If the mask picture is not 32 bits and same size as the src picture then the function will fail and leave the result picture unchanged.

#### See Also

GainEffect Class