equals

open fun equals(o: Any): Boolean

Compares this size to another object for equality.

Return

true if the object is a Size with the same width and height.

Parameters

o

The object to compare with.