OEGetColors

OEIterBase<OEColor> *OEGetColors(const std::vector<OEColor>)

Returns the iterator from the vector of specified colors in the vector order, enabling setting a custom color iterator.

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