Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

IntSize

@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
div(other: Int)

Returns an IntSize scaled by dividing width and height by other

operator IntSize
times(other: Int)

Returns an IntSize scaled by multiplying width and height by other

String

Extension functions
From androidx.compose.ui.unit
IntRect

Convert a IntSize to a IntRect.

Size

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
IntOffset

Returns the IntOffset of the center of the rect from the point of 0,0 with this IntSize.

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

Properties

height

@Stable val height: Int

The vertical aspect of the size in Int pixels.

width

@Stable val width: Int

The horizontal aspect of the size in Int pixels.

Companion properties

Zero

val Zero: IntSize

IntSize with a zero (0) width and height.