IntSize

@Immutable
value class IntSize

A two-dimensional size class used for measuring in Int cells.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@Stable
val height: Int

The vertical aspect of the size in Int cells.

Link copied to clipboard
@Stable
val width: Int

The horizontal aspect of the size in Int cells.

Functions

Link copied to clipboard
@Stable
inline operator fun component1(): Int
Link copied to clipboard
@Stable
inline operator fun component2(): Int
Link copied to clipboard
@Stable
operator fun div(other: Int): IntSize

Returns an IntSize scaled by dividing width and height by other

Link copied to clipboard
@Stable
operator fun times(other: Int): IntSize

Returns an IntSize scaled by multiplying width and height by other

Link copied to clipboard
@Stable
open override fun toString(): String