core-ktx / androidx.util / android.util.Size

Extensions for android.util.Size

component1

operator fun Size.component1(): Int

Returns "width", the first component of this Size.

component2

operator fun Size.component2(): Int

Returns "height", the second component of this Size.