format
typescript
Color.EqualsTo(other)class: Color
description
Determines whether the current color is equal to the specified color.
parameter
| param_name | type | description |
|---|---|---|
| other | Color | The specified color. |
reture
| type | description |
|---|---|
boolean | True if the colors are equal; otherwise, false. |
code example
typescript
let color = Color.white;
let other = new Color(255,255,255);
color.Equals(other);