updateBounds

abstract fun updateBounds(x: Double, y: Double, min: Size, max: Size): Size

Sets the item's position and asks it to choose a size within min and max

Return

size selected

Parameters

x

value

y

value

min

size

max

size


open fun updateBounds(rectangle: Rectangle)

Sets the item's bounds to rectangle

Parameters

rectangle

bounds


open fun updateBounds(x: Double, y: Double, width: Double, height: Double)

Sets the item's bounds to the specified values

Parameters

x
y
width
height