get_by_id


Description:

[ Version ( since = "3.0" ) ]
public static unowned LayerMask? get_by_id (int32 layer_mask_id)

Returns a LayerMask representing layer_mask_id.

This function calls get_by_id and returns the item if it is layer_mask or null otherwise.

Parameters:

layer_mask_id

The layer_mask id.

Returns:

a LayerMask for layer_mask_id or null if layer_mask_id does not represent a valid layer_mask. The object belongs to libgimp and you must not modify or unref it.