org.shapelogic.color
Class ColorChannelSplitterRGB

java.lang.Object
  extended by org.shapelogic.color.ColorChannelSplitterRGB
All Implemented Interfaces:
ColorChannelSplitter

public class ColorChannelSplitterRGB
extends java.lang.Object
implements ColorChannelSplitter

Split a int into 3 colors.

Author:
Sami Badawi

Field Summary
static ColorChannelSplitter INSTANCE
           
 
Constructor Summary
ColorChannelSplitterRGB()
           
 
Method Summary
static ColorChannelSplitter getInstance()
           
 int[] split(int colorIn, int[] iArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static ColorChannelSplitter INSTANCE
Constructor Detail

ColorChannelSplitterRGB

public ColorChannelSplitterRGB()
Method Detail

split

public int[] split(int colorIn,
                   int[] iArray)
Specified by:
split in interface ColorChannelSplitter

getInstance

public static ColorChannelSplitter getInstance()


Copyright © 2009. All Rights Reserved.