class ChunkyPNG::Palette
def [](index)
- See: ChunkyPNG::Palette#can_decode? -
Returns:
-
(ChunkyPNG::Color)
- The color that is stored in the palette under
Parameters:
-
index
(Integer
) -- The 0-based position of the color in the palette.
def [](index) @decoding_map[index] end