PaletteData.this

Constructs a new indexed palette given an array of RGB values.

@param colors the array of <code>RGB</code>s for the palette

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> </ul>

  1. this(RGB[] colors)
    class PaletteData
    this
  2. this(int redMask, int greenMask, int blueMask)

Meta