quickplot.colours
Class Colour
java.lang.Object
quickplot.colours.Colour
- Direct Known Subclasses:
- Autumn, Blue, Cool, Copper, Gray, Green, Hot, Jet, Red
public abstract class Colour
- extends Object
Ported from the C# version by Matt Williams.
- Author:
- Richard Jones
colours
protected RGB[] colours
inverted
protected boolean inverted
Colour
public Colour()
Colour
public Colour(int number)
getLength
public int getLength()
setLength
public void setLength(int length)
loadColours
public abstract void loadColours(int number)
getValue
public RGB getValue(int position)
getValue
public RGB getValue(int position,
boolean inversed)
isValid
public boolean isValid()
BO
protected double BO(boolean a)
toString
public String toString()
- Overrides:
toString in class Object