Gimp.Layer.prototype.set_apply_mask
function set_apply_mask(apply_mask: Boolean): Boolean {
// Gjs wrapper for gimp_layer_set_apply_mask()
}
Set the apply mask setting of the specified layer.
This procedure sets the specified layer's apply mask setting. This controls whether the layer's mask is currently affecting the alpha channel. If there is no layer mask, this function will return an error.
- apply_mask
The new layer's apply mask setting.
- Returns
TRUE on success.