DrawUtils.FixColorOpacity Method (Color)

GeonBit.UI

DrawUtilsFixColorOpacity Method (Color)
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(
	Color color
)

Parameters

color
Type: Color
Color to process.

Return Value

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