C# 클래스 Groves.UI.ColorHelpers

Color helpers
파일 보기 프로젝트 열기: tomzorz/Groves

공개 메소드들

메소드 설명
FromHex ( string s ) : Color

Creates a color from a hex value

FromName ( string s ) : Color

Create a Color from a Colors.XXX name

메소드 상세

FromHex() 공개 정적인 메소드

Creates a color from a hex value
public static FromHex ( string s ) : Color
s string Hey value in #RRGGBB or #AARRGGBB format
리턴 Color

FromName() 공개 정적인 메소드

Create a Color from a Colors.XXX name
Invalid color identifier.
public static FromName ( string s ) : Color
s string name of color
리턴 Color