C# Class NSoft.NFramework.FusionCharts.ColorExtensions

Color와 관련된 Extension Methods를 제공합니다.
显示文件 Open project: debop/NFramework

Public Methods

Method Description
FromHtml ( this htmlColor ) : Color

HTML Color Code를 Color로 변환합니다.

ToHexString ( this color ) : string

RGB 값을 Hex format으로 만든다

ToHtmlColor ( this color ) : string

Color 정보를 HTML Color 형식의 문자열로 반환합니다.

Method Details

FromHtml() public static method

HTML Color Code를 Color로 변환합니다.
public static FromHtml ( this htmlColor ) : Color
htmlColor this Html Color (예: #00FF00)
return System.Drawing.Color

ToHexString() public static method

RGB 값을 Hex format으로 만든다
public static ToHexString ( this color ) : string
color this
return string

ToHtmlColor() public static method

Color 정보를 HTML Color 형식의 문자열로 반환합니다.
public static ToHtmlColor ( this color ) : string
color this
return string