operator [] method
- int index
Returns the color in the palette at the given index
.
Implementation
P operator [](int index) => _lookupByIndex(index);
Returns the color in the palette at the given index
.
P operator [](int index) => _lookupByIndex(index);