divideByScalar

fun divideByScalar(color: Color, scalar: Double, result: Color): Color(source)

Divides the provided Color componentwise by the provided scalar.

Return

The modified result parameter.

Parameters

color

The Color to be divided.

scalar

The scalar to divide with.

result

The object onto which to store the result.

See also