IntSize
Kotlin
|Java
@Immutable inline class IntSize
kotlin.Any | |
↳ | androidx.compose.ui.unit.IntSize |
A two-dimensional size class used for measuring in Int pixels.
Summary
Public methods | |
---|---|
operator Int | |
operator Int | |
operator IntSize |
Returns an IntSize scaled by dividing width and height by other |
operator IntSize |
Returns an IntSize scaled by multiplying width and height by other |
String |
toString() |
Extension functions | ||||
---|---|---|---|---|
From androidx.compose.ui.unit
|
Properties | |
---|---|
Int |
The vertical aspect of the size in Int pixels. |
Int |
The horizontal aspect of the size in Int pixels. |
Companion properties | |
---|---|
IntSize |
IntSize with a zero (0) width and height. |
Extension properties | ||
---|---|---|
From androidx.compose.ui.unit
|
Public methods
component1
@Stable inline operator fun component1(): Int
component2
@Stable inline operator fun component2(): Int
div
@Stable operator fun div(other: Int): IntSize
Returns an IntSize scaled by dividing width and height by other
times
@Stable operator fun times(other: Int): IntSize
Returns an IntSize scaled by multiplying width and height by other
toString
@Stable fun toString(): String