equals

fun equals(left: Rectangle? = definedExternally, right: Rectangle? = definedExternally): Boolean(source)

Compares the provided rectangles and returns true if they are equal, false otherwise.

Return

true if left and right are equal; otherwise false.

Parameters

left

The first Rectangle.

right

The second Rectangle.

See also