WindowPosition.Absolute



Absolute position of the window on the current window screen

Summary

Public constructors

Absolute(x: Dp, y: Dp)
android

Public functions

operator Dp
android
operator Dp
android
WindowPosition.Absolute
copy(x: Dp, y: Dp)

Returns a copy of this Absolute instance optionally overriding the x or y parameter.

android
open operator Boolean
equals(other: Any?)
android
open Int
android
open String
android

Public properties

open Boolean

true if the window position has specific coordinates on the screen

android
open Dp

The horizontal position of the window in Dp.

android
open Dp

The vertical position of the window in Dp.

android

Public constructors

Absolute

Absolute(x: Dp, y: Dp)

Public functions

component1

operator fun component1(): Dp

component2

operator fun component2(): Dp

copy

fun copy(x: Dp = this.x, y: Dp = this.y): WindowPosition.Absolute

Returns a copy of this Absolute instance optionally overriding the x or y parameter.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

isSpecified

open val isSpecifiedBoolean

true if the window position has specific coordinates on the screen

false if coordinates are not yet determined (position is PlatformDefault or Aligned)

x

open val xDp

The horizontal position of the window in Dp.

y

open val yDp

The vertical position of the window in Dp.