Appearance
Function: readColorRef() ​
readColorRef(
colorEl,ctx):ColorRef
Read a colour element into a ColorRef.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
colorEl | Element | null | an a:EG_ColorChoice element, or null for no colour |
ctx | ColorContext | null | the theme to resolve against, or null to leave ColorRef.resolved unset |