clone

fun clone(result: Color? = definedExternally): Color(source)

Returns a duplicate of a Color instance.

Return

The modified result parameter or a new instance if result was undefined.

Parameters

result

The object to store the result in, if undefined a new instance will be created.

See also