component1
Returns the first component of the pair.
This method allows to use destructuring declarations when working with pairs, for example:
val (first, second) = myPair
Content copied to clipboard
Returns "width", the first component of this Size.
This method allows to use destructuring declarations when working with sizes, for example:
val (w, h) = mySize
Content copied to clipboard
Returns "width", the first component of this SizeF.
This method allows to use destructuring declarations when working with sizes, for example:
val (w, h) = mySize
Content copied to clipboard
Returns "width", the first component of this SizeFCompat.
This method allows to use destructuring declarations when working with sizes, for example:
val (w, h) = mySize
Content copied to clipboard