Bounds

interface Bounds

The rectangular bounds for a View that is being constrained.

Properties

Link copied to clipboard
abstract val bottom: Expression

The rectangle's bottom edge

Link copied to clipboard
abstract val center: Position

The rectangle's center

Link copied to clipboard
abstract val centerX: Expression

The rectangle's horizontal center

Link copied to clipboard
abstract val centerY: Expression

The rectangle's vertical center

Link copied to clipboard
abstract val edges: Edges

The rectangle's 4 sides

Link copied to clipboard
abstract val height: Property

The rectangle's vertical extent

Link copied to clipboard

The ideal height

Link copied to clipboard
abstract val idealSize: Size

The ideal size

Link copied to clipboard
open val idealWidth: Double

The ideal width

Link copied to clipboard
abstract val left: Expression

The rectangle's left edge

Link copied to clipboard
abstract val right: Expression

The rectangle's right side

Link copied to clipboard
abstract val size: Area

The rectangle's width/height

Link copied to clipboard
abstract val top: Expression

The rectangle's top edge

Link copied to clipboard
abstract val width: Property

The rectangle's horizontal extent

Functions

Link copied to clipboard
abstract fun preferredSize(min: Size, max: Size): Size

The preferred size within min - max