Skip to content

Placeable

interface Placeable

The result of measuring a node, which can subsequently be positioned via placeAt.

Inheritors

Properties

height

abstract var height: Int

The measured height in pixels.

size

open val size: IntSize

The measured size as an IntSize value.

width

abstract var width: Int

The measured width in pixels.

Functions

placeAt

abstract fun placeAt(x: Int, y: Int)

Places this node at the given screen coordinates.

Parameters

  • x: Absolute x position in screen pixels.

  • y: Absolute y position in screen pixels.

open fun placeAt(offset: IntOffset)

Places this node using an IntOffset convenience type.