ColorWorks Class |
Namespace: imbSCI.Core.style.color
The ColorWorks type exposes the following members.
| Name | Description | |
|---|---|---|
| HumanTextualNameDictionary |
Auto-initiated dictionary with all Color names vs color enumeration
|
| Name | Description | |
|---|---|---|
| ColorToHex | ||
| GetColor |
Converts HEX code, human name for color or ARGB definition (eg. Color [A=0, R=153, G=153, B=153]), into Color | |
| GetColorSafe |
Gets color from unknown object. Supports Color and String, otherwise returns defaultColor | |
| isExtractParameters |
Test if input matches \[([\d\w\=\,\s]*)\]
| |
| isHexColorString |
Test if input matches ([0-9A-F]{6})
| |
| isMatchParameterValuePair |
Test if input matches ([\w]{1})=([\d]*)
| |
| isSelectColorInText |
Test if input matches \[(\w*)\]
|
| Name | Description | |
|---|---|---|
| _select_isExtractParameters |
Regex select ExtractParameters : \[([\d\w\=\,\s]*)\]
| |
| _select_isHexColorString |
Regex select HexColorString : ([0-9A-F]{6})
| |
| _select_isMatchParameterValuePair |
Regex select MatchParameterValuePair : ([\w]{1})=([\d]*)
| |
| _select_isSelectColorInText |
Regex select SelectColorInText : \[(\w*)\]
| |
| ColorBlue | ||
| ColorCoolBlue | ||
| ColorCoolCyan | ||
| ColorCoolGreen | ||
| ColorCoolPink | ||
| ColorCoolYellow | ||
| ColorDarkGray | ||
| ColorDarkRed | ||
| ColorGray | ||
| ColorGreen | ||
| ColorLightGray | ||
| ColorOrange | ||
| ColorRed | ||
| ColorViolet | ||
| defaultColor |
The default color - color to be returned when no color recognized by GetColor(String) or GetColorSafe(Object) |