Click or drag to resize

HintOverlay Constructor

Constructs an overaly.

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.2.0 (in KSPDev_Utils.2.0.dll) Version: 2.0 for KSP v1.8+
Syntax
C#
public HintOverlay(
	int fontSize,
	int padding,
	Color textColor,
	Color backgroundColor
)
Request Example View Source

Parameters

fontSize
Type: SystemInt32
Size of the text font in the hint.
padding
Type: SystemInt32
Padding between the text and the window boundaries.
textColor
Type: Color
Color of the hint text.
backgroundColor
Type: Color
Color of the hint background. If alpha component is different from 1.0 then background will be semi-transparent.
See Also