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

IntPxSize

@Immutable data class IntPxSize
kotlin.Any
   ↳ androidx.ui.unit.IntPxSize

A two dimensional size using IntPx for units

Summary

Public methods

operator IntPxSize
div(other: Int)

Returns an IntPxSize scaled by dividing width and height by other

operator IntPxSize
times(other: Int)

Returns an IntPxSize scaled by multiplying width and height by other

String

Extension functions

From androidx.ui.unit
IntPxPosition

Returns the IntPxPosition of the center of the rect from the point of 0,0 with this IntPxSize.

PxSize

Convert a IntPxSize to a PxSize

Properties

IntPx

The vertical aspect of the size in IntPx.

IntPx

The horizontal aspect of the size in IntPx.

Companion properties

IntPxSize

IntPxSize with zero values.

Public methods

div

inline operator fun div(other: Int): IntPxSize

Returns an IntPxSize scaled by dividing width and height by other

times

inline operator fun times(other: Int): IntPxSize

Returns an IntPxSize scaled by multiplying width and height by other

toString

fun toString(): String

Properties

height

inline val height: IntPx

The vertical aspect of the size in IntPx.

width

inline val width: IntPx

The horizontal aspect of the size in IntPx.

Companion properties

Zero

val Zero: IntPxSize

IntPxSize with zero values.