WoColorGridGetValue Function
Gets the color indices for a range of colors in a color grid.
Usage
colors = WoColorGridGetValue(wid, index, num_values)
Input Parameters
wid — Specifies the widget ID returned by WoColorGrid (long).
index — The first color index in the range of colors to be returned.
num_values — The number of color values to return.
Returned Value
colors — A 2D array of size 3-by-n, where n is either num_values or the number of color indices to the end of the color grid.
Keywords
None.
Discussion
The color values returned will be either RGB, HLS, or HSV values, depending on the currently active color model.
Example
See the example for WoColorGrid Function.