PxSize
@Immutable data class PxSize
kotlin.Any | |
↳ | androidx.ui.core.PxSize |
A two dimensional size using Px for units
Summary
Public methods |
|
---|---|
operator PxSize |
Returns a PxSize scaled by dividing width and height by other |
operator PxSize |
Returns a PxSize scaled by dividing width and height by other |
operator PxSize |
Returns a PxSize scaled by dividing width and height by other |
operator PxSize |
Returns a PxSize scaled by multiplying width and height by other |
operator PxSize |
Returns a PxSize scaled by multiplying width and height by other |
operator PxSize |
Returns a PxSize scaled by multiplying width and height by other |
String |
toString() |
Extension functions |
||||||
---|---|---|---|---|---|---|
From androidx.ui.core
|
Properties |
|
---|---|
Px |
The vertical aspect of the size in Px. |
Px |
The horizontal aspect of the size in Px. |
Companion properties |
|
---|---|
PxSize |
PxSize with zero values. |
Extension properties |
||
---|---|---|
From androidx.ui.core
|
Public methods
div
inline operator fun div(other: Int): PxSize
Returns a PxSize scaled by dividing width and height by other
div
inline operator fun div(other: Float): PxSize
Returns a PxSize scaled by dividing width and height by other
div
inline operator fun div(other: Double): PxSize
Returns a PxSize scaled by dividing width and height by other
times
inline operator fun times(other: Int): PxSize
Returns a PxSize scaled by multiplying width and height by other
times
inline operator fun times(other: Float): PxSize
Returns a PxSize scaled by multiplying width and height by other
times
inline operator fun times(other: Double): PxSize
Returns a PxSize scaled by multiplying width and height by other
toString
fun toString(): String