org.scijava.util
Class ColorRGBA

java.lang.Object
  extended by org.scijava.util.ColorRGB
      extended by org.scijava.util.ColorRGBA
All Implemented Interfaces:
Serializable

public class ColorRGBA
extends ColorRGB

A color with red, green, blue and alpha color components.

It exists mainly to avoid AWT references to Color.

Author:
Curtis Rueden
See Also:
Serialized Form

Constructor Summary
ColorRGBA(int red, int green, int blue, int alpha)
           
 
Method Summary
 int getAlpha()
           
 
Methods inherited from class org.scijava.util.ColorRGB
equals, fromHSVColor, fromHTMLColor, getARGB, getBlue, getGreen, getRed, hashCode, toHTMLColor, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorRGBA

public ColorRGBA(int red,
                 int green,
                 int blue,
                 int alpha)
Method Detail

getAlpha

public int getAlpha()
Overrides:
getAlpha in class ColorRGB


Copyright © 2009–2015 SciJava. All rights reserved.