com.itextpdf.text.pdf
Class GrayColor

java.lang.Object
  extended by com.itextpdf.text.BaseColor
      extended by com.itextpdf.text.pdf.ExtendedColor
          extended by com.itextpdf.text.pdf.GrayColor

public class GrayColor
extends ExtendedColor

Author:
Paulo Soares

Field Summary
static GrayColor GRAYBLACK
           
static GrayColor GRAYWHITE
           
 
Fields inherited from class com.itextpdf.text.pdf.ExtendedColor
type, TYPE_CMYK, TYPE_GRAY, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
 
Fields inherited from class com.itextpdf.text.BaseColor
BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW
 
Constructor Summary
GrayColor(float floatGray)
           
GrayColor(int intGray)
           
 
Method Summary
 boolean equals(Object obj)
           
 float getGray()
           
 int hashCode()
           
 
Methods inherited from class com.itextpdf.text.pdf.ExtendedColor
getType, getType
 
Methods inherited from class com.itextpdf.text.BaseColor
brighter, darker, getAlpha, getBlue, getGreen, getRed, getRGB, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GRAYBLACK

public static final GrayColor GRAYBLACK

GRAYWHITE

public static final GrayColor GRAYWHITE
Constructor Detail

GrayColor

public GrayColor(int intGray)

GrayColor

public GrayColor(float floatGray)
Method Detail

getGray

public float getGray()

equals

public boolean equals(Object obj)
Overrides:
equals in class BaseColor

hashCode

public int hashCode()
Overrides:
hashCode in class BaseColor


Copyright © 2013. All Rights Reserved.