equalsEpsilon

fun equalsEpsilon(other: Color, epsilon: Double? = definedExternally): Boolean(source)

Returns true if this Color equals other componentwise within the specified epsilon.

Return

true if the Colors are equal within the specified epsilon; otherwise, false.

Parameters

other

The Color to compare for equality.

epsilon

The epsilon to use for equality testing. Default value - 0.0

See also