colorNameToColor
Type
handler
Summary
Convert a color name string to a color type
Syntax
colorNameToColor(<pValue>,<pDefault>)
Description
Try to get any value as a color.
note
This handler is for internal use.
Parameters
| Name | Type | Description |
|---|---|---|
pValue | String indicating the color name. pDefault: Default value in case the conversion fails |
Value
| Name | Type | Description |
|---|---|---|
return | A color as result of the conversion, pDefault if the conversion fails. |