equals

open operator override fun equals(other: Any?): Boolean

Check if this size is equal to another size.

Two sizes are equal if and only if both their widths and heights are equal.

A size object is never equal to any other type of object.

Return

true if the objects were equal, false otherwise