equals method

equals

Determines whether the specified Color structure is equivalent to this Color structure.

Returns

True if other is equivalent to this Color structure; otherwise, false.

def equals(self, other):
    ...
Parameter Type Description
other Color The color to test.

See Also