getBounds
getBounds: (LayoutableRenderableEntity) -> Rectangle?getBounds(): where the last render put it (nil for a TooltipComponent).
Tooltip.new(…):getComponent()| Method | Returns | Description |
|---|---|---|
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). |
| Method | Returns | Description |
|---|---|---|
PanelComponent.getChildren | {LayoutableRenderableEntity} | getChildren(): the live list of children, a Luau array: table.insert adds, table.clear clears. |
Tooltip.getComponent | LayoutableRenderableEntity? | getComponent(). |
getBoundsgetBounds: (LayoutableRenderableEntity) -> Rectangle?getBounds(): where the last render put it (nil for a TooltipComponent).
setPreferredLocationsetPreferredLocation: (LayoutableRenderableEntity, Point?) -> ()setPreferredLocation(position): where the next render puts it.
setPreferredSizesetPreferredSize: (LayoutableRenderableEntity, Dimension?) -> ()setPreferredSize(dimension): the size the next render lays out in (ignored by ImageComponent and TooltipComponent).