ColorWorks Methods |
The ColorWorks type exposes the following members.
| 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*)\]
|