hasSizeChanged

fun hasSizeChanged(oldWidth: Int, oldHeight: Int, newWidth: Int, newHeight: Int): Boolean

Returns true if the width or height has changed between the old and new values.