__invert__# rlemasklib.RLEMask.__invert__()[source]# Compute the complement of an RLE mask. Returns: A new RLEMask object representing the complement of the mask. Return type: RLEMask Examples Complement of a ring shape fills inside and outside: ~ == See also complement()