equals

open fun equals(@Nullable obj: Any): Boolean

Compares obj to this size.

Return

true if the width and height of obj is the same as those of this size. false otherwise.

Parameters

obj

the object to compare this size with.


open fun equals(width: Int, height: Int): Boolean