Class TooltipStyle
How a tooltip looks. Colors take anything a view's color attributes take, "{Resource id}" included, and are resolved when drawn, as a toast's are. Sizes are at a UI scale of 1 and grow with it.
public class TooltipStyle
- Inheritance
-
TooltipStyle
- Inherited Members
Properties
BackgroundColor
The colour of the tooltip's background.
public string BackgroundColor { get; set; }
Property Value
BorderColor
The colour of the border around the tooltip.
public string BorderColor { get; set; }
Property Value
Font
A .ttf/.otf path; null uses the engine's built-in font.
public string Font { get; set; }
Property Value
FontSize
The size of the text, in pixels at a UI scale of 1.
public float FontSize { get; set; }
Property Value
MaxWidth
Longest a line may be before it wraps, at scale 1.
public float MaxWidth { get; set; }
Property Value
Offset
How far right of and below the pointer the tooltip's corner is, at scale 1.
public float Offset { get; set; }
Property Value
TextColor
The colour of the text.
public string TextColor { get; set; }