TooltipParameters

constructor(text: String, singleLine: Boolean = false, placement: TooltipPlacement = TooltipPlacement.Top, alignment: TooltipAlignment = TooltipAlignment.Center)

Parameters

text

Text to display in the tooltip.

singleLine

Either the text in the tooltip should be displayed in a single line or not. Note that the tooltip width is limited to a maximum width depending on this parameter and the text might be truncated if it exceeds the maximum width.

placement

Placement of the tooltip relative to the UI trigger. Defaults to TooltipPlacement.Top.

alignment

Alignment of the tooltip relative to the UI trigger. Defaults to TooltipAlignment.Center.