Positionable

interface Positionable

Represents an item within a PositionableContainer that a Layout can position.

See also

Inheritors

Properties

Link copied to clipboard
abstract var bounds: Rectangle

The top, left, width, and height.

Link copied to clipboard
abstract var height: Double

Vertical extent of bounds

Link copied to clipboard
abstract val idealSize: Size?

Size that would best display this item, or null if no preference

Link copied to clipboard
abstract val minimumSize: Size

Minimum size preferred by this item

Link copied to clipboard
abstract var position: Point

Top-left corner of bounds

Link copied to clipboard
abstract var size: Size

Width-height of bounds

Link copied to clipboard
abstract val visible: Boolean

Whether this item is visible.

Link copied to clipboard
abstract var width: Double

Horizontal extent of bounds

Link copied to clipboard
abstract var x: Double

Left edge of bounds

Link copied to clipboard
abstract var y: Double

Top edge of bounds

Functions

Link copied to clipboard
abstract operator fun contains(point: Point): Boolean

Checks whether this item contains point.