8#ifndef SkColorPalette_DEFINED
9#define SkColorPalette_DEFINED
31 int count()
const {
return fCount; }
37 SkASSERT(fColors !=
nullptr && (
unsigned)index < (
unsigned)fCount);
38 return fColors[index];
const SkPMColor * readColors() const
SkPMColor operator[](int index) const
~SkColorPalette() override