|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.biostr.sig.volume.colors.ColorScheme
edu.washington.biostr.sig.volume.colors.MaskScheme
public class MaskScheme
Return 0,0,0,1 for anything below the threshold (non transparent black, this will black out anything it is applied over) and 0,0,0,0 for anything at or above the threshold (basically a completely transparent nothing, this should not change anything that it is applied over). Use ColorLookupTable for thresholding.
| Field Summary |
|---|
| Fields inherited from class edu.washington.biostr.sig.volume.colors.ColorScheme |
|---|
alpha |
| Method Summary | |
|---|---|
boolean |
equals(Object parm1)
|
AlphaComposite |
getAlphaComposite()
Get the alpha composite for this scheme. |
int |
getARGB(double value)
Get the RGBA value as 1 int. By default this calls getRGB and converts the 4 ints into 1. |
static MaskScheme |
getMaskScheme()
Get the MaskScheme (all of them are the same). |
int[] |
getRGB(double value)
Get an RGBA value as 4 ints {R, G, B, A} |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class edu.washington.biostr.sig.volume.colors.ColorScheme |
|---|
getAlpha, setAlpha, supportsAlpha |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static MaskScheme getMaskScheme()
public int[] getRGB(double value)
ColorScheme
getRGB in class ColorSchemepublic int getARGB(double value)
ColorScheme
getARGB in class ColorSchemepublic boolean equals(Object parm1)
equals in class Objectpublic AlphaComposite getAlphaComposite()
ColorScheme
getAlphaComposite in class ColorSchemepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||