C# Class SIL.Utils.ColorUtil

Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
ConvertBGRtoColor ( uint bgrColor ) : Color

Converts a BGR color (as used in FW props, for example) to a .Net Color object.

ConvertColorToBGR ( System c ) : uint

Convert a .NET color to the BGR value understood by Views code.

Method Details

ConvertBGRtoColor() static public method

Converts a BGR color (as used in FW props, for example) to a .Net Color object.
static public ConvertBGRtoColor ( uint bgrColor ) : Color
bgrColor uint
return Color

ConvertColorToBGR() public static method

Convert a .NET color to the BGR value understood by Views code.
public static ConvertColorToBGR ( System c ) : uint
c System .NET Color value
return uint