OEGetColors

OEIterBase<OEColor> *OEGetColors(const OEColor &fromcolor,
                                 const OEColor &tocolor,
                                 unsigned int nrcolors)

Returns the iterator over nrcolors colors between the two given colors using a OELinearColorGradient class. See example in Figure: The ten colors that are returned from OEYellow to OEDarkRed colors.

../../_images/OEGetColors.png

The ten colors that are returned from OEYellow to OEDarkRed colors