clone

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

Duplicates this Rectangle.

Return

The modified result parameter or a new Rectangle instance if none was provided.

Parameters

result

The object onto which to store the result.

See also