Contains tooltip display information for centralized rendering.
More...
|
| | TooltipInfo (string text, int x, int y, Color borderColor, Color backgroundColor, Color textColor, RenderFont font, bool right=true, int xOffset=20, int yOffset=12) |
| |
|
| float | BorderWidth = 2f [get] |
| | Border thickness; the default preserves the existing tooltip style.
|
| |
| bool | OutlinePointer [get] |
| | Draws a narrow, background-filled pointer with two outlined edges.
|
| |
| Rectangle? | Bounds [get] |
| | Optional drawing bounds for wrapping and keeping the tooltip visible.
|
| |
Contains tooltip display information for centralized rendering.
◆ TooltipInfo()
| OFT.Rendering.Context.TooltipInfo.TooltipInfo |
( |
string |
text, |
|
|
int |
x, |
|
|
int |
y, |
|
|
Color |
borderColor, |
|
|
Color |
backgroundColor, |
|
|
Color |
textColor, |
|
|
RenderFont |
font, |
|
|
bool |
right = true, |
|
|
int |
xOffset = 20, |
|
|
int |
yOffset = 12 |
|
) |
| |
◆ BackgroundColor
| readonly Color OFT.Rendering.Context.TooltipInfo.BackgroundColor |
◆ BorderColor
| readonly Color OFT.Rendering.Context.TooltipInfo.BorderColor |
◆ Font
| readonly RenderFont OFT.Rendering.Context.TooltipInfo.Font |
◆ Right
| readonly bool OFT.Rendering.Context.TooltipInfo.Right |
◆ Text
| readonly string OFT.Rendering.Context.TooltipInfo.Text |
◆ TextColor
| readonly Color OFT.Rendering.Context.TooltipInfo.TextColor |
| readonly int OFT.Rendering.Context.TooltipInfo.X |
◆ XOffset
| readonly int OFT.Rendering.Context.TooltipInfo.XOffset |
| readonly int OFT.Rendering.Context.TooltipInfo.Y |
◆ YOffset
| readonly int OFT.Rendering.Context.TooltipInfo.YOffset |
◆ BorderWidth
| float OFT.Rendering.Context.TooltipInfo.BorderWidth = 2f |
|
get |
Border thickness; the default preserves the existing tooltip style.
◆ Bounds
| Rectangle? OFT.Rendering.Context.TooltipInfo.Bounds |
|
get |
Optional drawing bounds for wrapping and keeping the tooltip visible.
◆ OutlinePointer
| bool OFT.Rendering.Context.TooltipInfo.OutlinePointer |
|
get |
Draws a narrow, background-filled pointer with two outlined edges.
The documentation for this struct was generated from the following file:
- RenderContextExtensions.cs