Gimp.Layer.from_mask
function from_mask(mask: Gimp.LayerMask): Gimp.Layer {
// Gjs wrapper for gimp_layer_from_mask()
}
Get the specified mask's layer.
This procedure returns the specified mask's layer , or -1 if none exists.
Since 2.2
- mask
Mask for which to return the layer.
- Returns
The mask's layer.