Package dev.twilite.client.ui.overlay
Annotation Interface OverlayRect
Renders rect bindings as world area overlays.
Supported binding values are Rect, Optional<Rect>, Iterable<Rect>,
Iterator<Rect>, Rect[], or Map<Rect, ?>. Nulls and non-Rect
values are ignored.
When a map is returned, each key is rendered as the area and its value is rendered as label text. Iterable, iterator, and array label values are expanded into multiple labels. Duplicate rects are drawn once, with labels merged in encounter order.
-
Optional Element Summary
Optional Elements
-
Element Details
-
fill
int fillArea fill color in ARGB format.- Default:
1145030655
-
outline
int outlineArea outline color in ARGB format.- Default:
-583022593
-