C# Class PixelFarm.Drawing.KnownColors

ファイルを表示 Open project: prepare/HTML-Renderer

Public Methods

Method Description
FromKnownColor ( KnownColor kc ) : Color
FromKnownColor ( string colorName ) : Color
GetName ( KnownColor kc ) : string
GetName ( short kc ) : string

Private Methods

Method Description
KnownColors ( ) : System

Method Details

FromKnownColor() public static method

public static FromKnownColor ( KnownColor kc ) : Color
kc KnownColor
return Color

FromKnownColor() public static method

public static FromKnownColor ( string colorName ) : Color
colorName string
return Color

GetName() public static method

public static GetName ( KnownColor kc ) : string
kc KnownColor
return string

GetName() public static method

public static GetName ( short kc ) : string
kc short
return string