equals method

On this page

equals

Checks whether this color is equal to the specified Argb32Color.

def equals(self, other):
    ...
Parameter Type Description
other Argb32Color The other Argb32Color color.

Returns: bool: True if both colors are equal, otherwise False.

equals

Determines whether this color is equal to the specified Rgb24Color.

def equals(self, other):
    ...
Parameter Type Description
other Rgb24Color The other color.

Returns: bool: True if both colors are equal, otherwise False.

equals

Checks whether this color equals the specified uncasted color.

def equals(self, obj):
    ...
Parameter Type Description
obj Any The other uncasted color.

Returns: bool: True if both colors are equal, otherwise False.

See Also

On this page