equals method
Leave feedback
On this page
Determines whether the specified Color structure is equivalent to this Color structure.
def equals(self, other):
...
| Parameter | Type | Description |
|---|---|---|
| other | Color |
The color to test. |
Returns: bool: True if other is equivalent to this Color structure; otherwise, False.
Determines whether the specified object is a Color structure and is equivalent to this Color structure.
def equals(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
The object to test. |
Returns: bool: True if object is a Color structure equivalent to this Color structure; otherwise, False.
- class
Color
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.