UITooltip Class
Definition
Namespace: Brine2D.UI
Tooltip shown while hovering over a UI component.
Attach one to any component via its Tooltip property.
Inheritance System.Object → UITooltip
| Properties | |
|---|---|
| BackgroundColor | Background color. |
| BorderColor | Border color. |
| CursorOffset | Offset from mouse cursor. |
| Font | Optional font for rendering tooltip text \(null = renderer default\). |
| MaxWidth | Maximum width before text wrapping \(0 = no wrapping\). |
| Padding | Padding around text. |
| ShowDelay | Delay before showing tooltip \(in seconds\). |
| Text | Tooltip text content. |
| TextColor | Text color. |
| Methods | |
|---|---|
| CalculateSize() | Calculates tooltip size based on text content. |