GeonBit.UI Documentation
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)

C#
public virtual Color FixColorOpacity( Nullable<Color> color )
Parameters
- color
- Type: SystemNullableColor
Color to process.
Return Value
Type: ColorColor if provided or default color, with alpha applied.
