Gimp.LayerMask.get_by_id

@accepts(gint32)
@returns(Gimp.LayerMask)
def get_by_id(layer_mask_id):
    # Python wrapper for gimp_layer_mask_get_by_id()
  

Returns a Gimp.LayerMask representing layer_mask_id. This function calls Gimp.Item.get_by_id and returns the item if it is layer_mask or None otherwise.

Since 3.0

layer_mask_id

The layer_mask id.

Returns