C# Class DataServer.ColorReflector

显示文件 Open project: TNOCS/csTouch

Public Methods

Method Description
GetThisColor ( string colorString ) : Color
SetFromHex ( this c, string hex ) : void
ToColorFromHex ( string hex ) : Color
ToColorFromHexWithUndefined ( string hex ) : Color?

Method Details

GetThisColor() public static method

public static GetThisColor ( string colorString ) : Color
colorString string
return Color

SetFromHex() public static method

public static SetFromHex ( this c, string hex ) : void
c this
hex string
return void

ToColorFromHex() public static method

public static ToColorFromHex ( string hex ) : Color
hex string
return Color

ToColorFromHexWithUndefined() public static method

public static ToColorFromHexWithUndefined ( string hex ) : Color?
hex string
return Color?