generates 2-color gradients using pure colors, a fill pattern, and two luminance values
Parameter | Type | Description |
---|---|---|
colors | Array | Array of colors to generate gradients for each. |
fillPattern | Object | Gradient fill descriptor which colors list will be generated. |
lumFrom | Number | Initial luminance value (0-100). |
lumTo | Number | Final luminance value (0-100). |
generates gradient colors using an intensity map
Parameter | Type | Description |
---|---|---|
color | dojo/_base/Color | Color to use to generate gradients. |
intensityMap | Array | Array of tuples {o, i}, where o is a gradient offset (0-1), and i is an intensity (0-255). |
generates mini-themes with 2-color gradients using colors, a fill pattern, and three luminance values
Parameter | Type | Description |
---|---|---|
colors | Array | Array of colors to generate gradients for each. |
fillPattern | Object | Gradient fill descriptor which colors list will be generated. |
lumFrom | Number | Initial luminance value (0-100). |
lumTo | Number | Final luminance value (0-100). |
lumStroke | Number | Stroke luminance value (0-100). |
transforms solid color fills into 2-color gradients using a fill pattern, and two luminance values
Parameter | Type | Description |
---|---|---|
themes | Array | Array of mini-themes (usually series themes or marker themes), which fill will be transformed. |
fillPattern | Object | Gradient fill descriptor which colors list will be generated. |
lumFrom | Number | Initial luminance value (0-100). |
lumTo | Number | Final luminance value (0-100). |