Uses of Class
legacy.video.RGB

Packages that use RGB
legacy This package contains all classes required by the kernel to operate 
legacy.resource This package is where classes used for handling media should be kept and includes codecs for loading specific mime types. 
legacy.resource.codecs.image Package for maintaing image codecs 
legacy.video This Video package contains all base classes used for rendition and graphics helpers 
 

Uses of RGB in legacy
 

Fields in legacy declared as RGB
protected static RGB[] VideoAdapter.lookupPallet
          Internal pallet structure holds pallet data before Initialization.
 

Methods in legacy that return RGB
protected static RGB[] VideoAdapter.createMemoryModel(java.lang.Object memoryModel)
          createMemoryModel prepairs the pallet for use.
 RGB VideoAdapter.getPalletIndex(int index)
          getPalletIndex(int) returns the color currently set for the pallet at index of
 

Methods in legacy that return types with arguments of type RGB
static Arrays<RGB> Helpers.getRGBArray()
          getRGBArray() gets a casted Array<?>type for use/reuse to prevent extensive object construction
 

Methods in legacy with parameters of type RGB
abstract  void Configuration.createPallet(RGB[] pal)
          createPallet to allow user to define a pallet.
 int VideoAdapter.getClosetColor(RGB rgb)
          Returns the closest color in the existing pallet
 void VideoAdapter.setPalletIndex(int index, RGB color)
          setPalletIndex(int, RGB) sets a color in this pallet at index to a specific color
 

Uses of RGB in legacy.resource
 

Methods in legacy.resource that return RGB
 RGB VideoCodecToolkit.getPalletIndex(int index)
          getPalletIndex(int) returns the color currently set for the pallet at index of
 

Methods in legacy.resource with parameters of type RGB
 int VideoCodecToolkit.getClosetColor(RGB rgb)
          Returns the closest color in the existing pallet
 void VideoCodecToolkit.setPalletIndex(int Index, RGB color)
          setPalletIndex(int, RGB) sets a color in this pallet at index to a specific color
 

Uses of RGB in legacy.resource.codecs.image
 

Methods in legacy.resource.codecs.image with parameters of type RGB
 void NativeImageFormat.putPixel(int x, int y, RGB rgb)
          putPixel(int x, int y, RGB rgb) places a pixel on the active video buffer
 

Uses of RGB in legacy.video
 

Fields in legacy.video declared as RGB
static RGB Colors.BLACK
          Standard Black color
static RGB Colors.BLUE
          Standard Blue color
static RGB Colors.CREAM
          Standard Cream color
static RGB Colors.CYAN
          Standard Cyan color
static RGB Colors.DARK_BLUE
          Standard Dark Blue color
static RGB Colors.DARK_CYAN
          Standard Dark Cyan color
static RGB Colors.DARK_GREEN
          Standard Dark Green color
static RGB Colors.DARK_GREY
          Standard Dark Grey color
static RGB Colors.DARK_MAGENTA
          Standard Dark Magenta color
static RGB Colors.DARK_RED
          Standard Dark Red color
static RGB Colors.DARK_YELLOW
          Standard Dark Yellow color
static RGB Colors.GREEN
          Standard Green color
static RGB Colors.LIGHT_GREY
          Standard Light Grey color
static RGB Colors.MAGENTA
          Standard Magenta color
static RGB Colors.MEDIUM_GREY
          Standard Medium Grey color
static RGB Colors.MONEY_GREEN
          Standard Money Green color
static RGB Colors.RED
          Standard Red color
static RGB Colors.SKY_BLUE
          Standard Sky Blue color
static RGB Colors.WHITE
          Standard White color
static RGB Colors.YELLOW
          Standard Yellow color
 

Methods in legacy.video with parameters of type RGB
static int RGB.blendColor(RGB baseRGB, RGB colorRGB)
          blendColor blends to colors togeather using the second colors alpha value as the quantity to blend.
 void PalletFactory.createPallet(RGB[] pal)
          createPallet to allow user to define a pallet.
static int Colors.getDistance(RGB rgbx, RGB rgby)
          getDistance calculates an effective destance between to individual colors
static void Pallets.reducePallet(RGB[] source, RGB[] dest)
          reducePallet reduces an array of colors to fit a destination array of a given size.
Note very costly to use continually reduced an arry by 1 until the desired size is met.
this calls a mehod wich will find first mathces and the closest in wich case it will interpolate the results.
static void Pallets.reducePallet(RGB[] source, RGB[] dest)
          reducePallet reduces an array of colors to fit a destination array of a given size.
Note very costly to use continually reduced an arry by 1 until the desired size is met.
this calls a mehod wich will find first mathces and the closest in wich case it will interpolate the results.