IntPxSize

@Immutable data class IntPxSize
kotlin.Any
   ↳ androidx.ui.core.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.core
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.

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.