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

IntPxPosition

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

A two-dimensional position using IntPx for units

Summary

Public methods

operator IntPxPosition

Subtract a IntPxPosition from another one.

operator IntPxPosition

Add a IntPxPosition to another one.

String

operator IntPxPosition

Returns a new PxPosition representing the negation of this point.

Extension functions

From androidx.ui.unit
PxPosition

Convert a IntPxPosition to a PxPosition

Properties

IntPx

The horizontal aspect of the position in IntPx

IntPx

The vertical aspect of the position in IntPx

Companion properties

IntPxPosition

Public methods

minus

inline operator fun minus(other: IntPxPosition): IntPxPosition

Subtract a IntPxPosition from another one.

plus

inline operator fun plus(other: IntPxPosition): IntPxPosition

Add a IntPxPosition to another one.

toString

fun toString(): String

unaryMinus

inline operator fun unaryMinus(): IntPxPosition

Returns a new PxPosition representing the negation of this point.

Properties

x

inline val x: IntPx

The horizontal aspect of the position in IntPx

y

inline val y: IntPx

The vertical aspect of the position in IntPx

Companion properties

Origin

val Origin: IntPxPosition