org.ojalgo.type.colour
Class Colour

java.lang.Object
  extended by java.awt.Color
      extended by org.ojalgo.type.colour.Colour
All Implemented Interfaces:
Paint, Transparency, Serializable

Deprecated. v31 Will be removed or seriously refactored

@Deprecated
public class Colour
extends Color

Author:
apete
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
Colour(Color aColor)
          Deprecated.  
Colour(ColorSpace cspace, float[] components, float alpha)
          Deprecated.  
Colour(float r, float g, float b)
          Deprecated.  
Colour(float r, float g, float b, float a)
          Deprecated.  
Colour(int rgb)
          Deprecated.  
Colour(int rgba, boolean hasalpha)
          Deprecated.  
Colour(int r, int g, int b)
          Deprecated.  
Colour(int r, int g, int b, int a)
          Deprecated.  
 
Method Summary
static Colour random()
          Deprecated.  
 String toHexString()
          Deprecated.  
static Colour valueOf(String aColourAsHexString)
          Deprecated.  
 
Methods inherited from class java.awt.Color
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Colour

public Colour(Color aColor)
Deprecated. 

Colour

public Colour(ColorSpace cspace,
              float[] components,
              float alpha)
Deprecated. 

Colour

public Colour(float r,
              float g,
              float b)
Deprecated. 

Colour

public Colour(float r,
              float g,
              float b,
              float a)
Deprecated. 

Colour

public Colour(int rgb)
Deprecated. 

Colour

public Colour(int rgba,
              boolean hasalpha)
Deprecated. 

Colour

public Colour(int r,
              int g,
              int b)
Deprecated. 

Colour

public Colour(int r,
              int g,
              int b,
              int a)
Deprecated. 
Method Detail

random

public static Colour random()
Deprecated. 

valueOf

public static Colour valueOf(String aColourAsHexString)
Deprecated. 

toHexString

public String toHexString()
Deprecated.