Click or drag to resize
DrawUtilsFixColorOpacity Method (NullableColor)
Set default color to white and fix RGB based on Alpha channel.

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual Color FixColorOpacity(
	Nullable<Color> color
)

Parameters

color
Type: SystemNullableColor
Color to process.

Return Value

Type: Color
Color if provided or default color, with alpha applied.
See Also