## Color::Equals method


确定当前对象和指定的 [Color](../) 对象是否表示相同的颜色。

```cpp
bool System::Drawing::Color::Equals(const Color &color) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| color | const Color\& | 用于与当前对象比较的 [Color](../) 对象 |

### ReturnValue

如果当前对象和指定对象都表示相同的颜色则为 true，否则为 false

## 另见

* Class [Color](../)
* Class [Color](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
