Area

expect class Area : Closable

Represents an area (a rectangle) on the screen.

actual class Area : Closable
actual class Area : Closable

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion

Functions

close
Link copied to clipboard
abstract fun close()
open override fun close()
open override fun close()
Link copied to clipboard
expect fun move(xOffset: Short, yOffset: Short)

Moves the area to a different location.

actual fun move(xOffset: Short, yOffset: Short)
actual fun move(xOffset: Short, yOffset: Short)
Link copied to clipboard
expect fun setPositionAndSize(left: Short, top: Short, right: Short, bottom: Short)

Changes the position and size of the area.

actual fun setPositionAndSize(left: Short, top: Short, right: Short, bottom: Short)
actual fun setPositionAndSize(left: Short, top: Short, right: Short, bottom: Short)

Properties

Link copied to clipboard
expect var height: Short

Vertical size in pixels.

actual var height: Short
actual var height: Short
lvAreaPtr
Link copied to clipboard
val lvAreaPtr: CPointer<lv_area_t>?
val lvAreaPtr: CPointer<lv_area_t>?
Link copied to clipboard
expect val size: UInt

Size of the area in pixels.

actual val size: UInt
actual val size: UInt
Link copied to clipboard
expect var width: Short

Horizontal size in pixels.

actual var width: Short
actual var width: Short