WindowPosition


Known direct subclasses
WindowPosition.Absolute

Absolute position of the window on the current window screen

WindowPosition.Aligned

Window will be aligned when it will be shown on the screen.

WindowPosition.PlatformDefault

Initial position of the window that depends on the platform.


Position of the window or dialog on the screen in Dp.

Summary

Nested types

Absolute position of the window on the current window screen

Window will be aligned when it will be shown on the screen.

Initial position of the window that depends on the platform.

Protected constructors

android

Public properties

abstract Boolean

true if the window position has specific coordinates on the screen

android
abstract Dp

The horizontal position of the window in Dp.

android
abstract Dp

The vertical position of the window in Dp.

android

Protected constructors

WindowPosition

protected WindowPosition()

Public properties

isSpecified

abstract 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

abstract val xDp

The horizontal position of the window in Dp.

y

abstract val yDp

The vertical position of the window in Dp.