LayoutableRenderableEntity

Methods
3
Fields
None

Getting one

Tooltip.new(…):getComponent()

Methods

MethodReturnsDescription
getBounds()Rectangle?getBounds(): where the last render put it (nil for a TooltipComponent).
setPreferredLocation(Point?)()setPreferredLocation(position): where the next render puts it.
setPreferredSize(Dimension?)()setPreferredSize(dimension): the size the next render lays out in (ignored by ImageComponent and TooltipComponent).

Returned by

MethodReturnsDescription
PanelComponent.getChildren{LayoutableRenderableEntity}getChildren(): the live list of children, a Luau array: table.insert adds, table.clear clears.
Tooltip.getComponentLayoutableRenderableEntity?getComponent().

Method details