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