C# Class SIL.Utils.ColorUtil

Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode 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 méthode

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

ConvertColorToBGR() public static méthode

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