equals method
Leave feedback
On this page
Compares channel values with another redaction color.
def equals(self, item):
...
| Parameter | Type | Description |
|---|---|---|
| item | Color |
The color to compare with. |
Returns: bool: True when all channels match; otherwise False.
Compares the color with another object.
def equals(self, item):
...
| Parameter | Type | Description |
|---|---|---|
| item | Any |
The object to compare with. |
Returns: bool: True when item is a matching Color; otherwise False.
These names call equals too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
equals_color |
equals_color(item) |
equals_object |
equals_object(item) |
- 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.