Skip to content

format

typescript
Color.EqualsTo(lhs, rhs)

class: Color

description

Determines whether the current color is equal to the specified color.

parameter

param_nametypedescription
lhsColorThe lhs color.
rhsColorThe rhs color.

return

typedescription
booleanTrue 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);