C# Class Myre.UI.Text.ColourParser

Exibir arquivo Open project: TomGillen/Myre Class Usage Examples

Public Methods

Method Description
Parse ( StringPart text ) : Color
TryParse ( StringPart text, Color &value ) : bool

Private Methods

Method Description
InitialiseColours ( ) : void
ReadColourComponents ( string parts, Color &value ) : bool
TryComponents ( StringPart text, Color &value ) : bool
TryParseByte ( string text, byte &value ) : bool
TryUppercase ( StringPart text, Color &value ) : bool

Method Details

Parse() public static method

public static Parse ( StringPart text ) : Color
text StringPart
return Color

TryParse() public static method

public static TryParse ( StringPart text, Color &value ) : bool
text StringPart
value Color
return bool