Method osdText.showTransparentText
Overload
Shows a big-font text with transparent background.
public static osdText showTransparentText(string text, int secondsTimeout = 0, PopupXY xy = null, ColorInt? color = null, FontNSS font = null, string name = null, OsdMode showMode = OsdMode.Auto, bool dontShow = false)
Parameters
text (string)
Text in OSD window. |
secondsTimeout (int)
Close the OSD window after this time, seconds. If 0 (default), depends on text length. Can be System.Threading.Timeout.Infinite (-1). Sets osdText.SecondsTimeout. |
xy (PopupXY)
Coordinates.
Default: |
color (ColorInt?)
Sets osdText.TextColor. Default: osdText.defaultTransparentTextColor. |
font (FontNSS)
Sets osdText.Font. Default: osdText.defaultBigFont. |
name (string)
OSD window name. |
showMode (OsdMode)
Sets osdText.ShowMode. |
dontShow (bool)
Don't call osdText.Show. The caller can use the return value to set some other properties and call Show. |
Returns
Remarks
Also sets these properties: OsdWindow.Opacity=0.