|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Color
|
+--com.cete.dynamicpdf.DeviceColor
|
+--com.cete.dynamicpdf.RgbColor
Class represents an RGB color.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
RgbColor(byte red,
byte green,
byte blue)
Initializes a new instance of the RgbColor class. |
|
RgbColor(float red,
float green,
float blue)
Initializes a new instance of the RgbColor class. |
|
RgbColor(int red,
int green,
int blue)
Initializes a new instance of the RgbColor class. |
|
| Method Summary | |
void |
drawFill(OperatorWriter writer)
Draws the color data to the given PageWriter object. |
void |
drawStroke(OperatorWriter writer)
Draws the color data to the given PageWriter object. |
boolean |
equals(java.lang.Object obje)
Tests equality of colors. |
static RgbColor |
getAliceBlue()
Gets the color alice blue. |
static RgbColor |
getAntiqueWhite()
Gets the color antique white. |
static RgbColor |
getAqua()
Gets the color aqua. |
static RgbColor |
getAquamarine()
Gets the color aquamarine. |
static RgbColor |
getAzure()
Gets the color azure. |
float |
getB()
Gets the blue value. |
static RgbColor |
getBeige()
Gets the color beige. |
static RgbColor |
getBisque()
Gets the color bisque. |
static RgbColor |
getBlack()
Gets the color black. |
static RgbColor |
getBlanchedAlmond()
Gets the color blanched almond. |
static RgbColor |
getBlue()
Gets the color blue. |
static RgbColor |
getBlueViolet()
|
static RgbColor |
getBrown()
Gets the color brown. |
static RgbColor |
getBurlyWood()
Gets the color burly wood. |
static RgbColor |
getCadetBlue()
Gets the color cadet blue. |
static RgbColor |
getChartreuse()
Gets the color chartreuse. |
static RgbColor |
getChocolate()
Gets the color chocolate. |
ColorSpace |
getColorSpace()
Gets the color space for the color. |
int |
getComponents()
Gets the number of components for the device color. |
static RgbColor |
getCoral()
Gets the color coral. |
static RgbColor |
getCornflowerBlue()
Gets the color cornflower blue. |
static RgbColor |
getCornsilk()
Gets the color cornsilk. |
static RgbColor |
getCrimson()
Gets the color crimson. |
static RgbColor |
getCyan()
Gets the color cyan. |
static RgbColor |
getDarkBlue()
Gets the color dark blue. |
static RgbColor |
getDarkCyan()
Gets the color dark cyan. |
static RgbColor |
getDarkGoldenRod()
Gets the color dark golden rod. |
static RgbColor |
getDarkGray()
Gets the color dark gray. |
static RgbColor |
getDarkGreen()
Gets the color dark green. |
static RgbColor |
getDarkKhaki()
Gets the color dark khaki. |
static RgbColor |
getDarkMagenta()
Gets the color dark magenta. |
static RgbColor |
getDarkOliveGreen()
Gets the color dark olive green. |
static RgbColor |
getDarkorange()
Gets the color dark orange. |
static RgbColor |
getDarkOrchid()
Gets the color dark orchid. |
static RgbColor |
getDarkRed()
Gets the color dark red. |
static RgbColor |
getDarkSalmon()
Gets the color dark salmon. |
static RgbColor |
getDarkSeaGreen()
Gets the color dark sea green. |
static RgbColor |
getDarkSlateBlue()
Gets the color dark slate blue. |
static RgbColor |
getDarkSlateGray()
Gets the color dark slate gray. |
static RgbColor |
getDarkTurquoise()
Gets the color dark turquoise. |
static RgbColor |
getDarkViolet()
Gets the color dark violet. |
static RgbColor |
getDeepPink()
Gets the color deep pink. |
static RgbColor |
getDeepSkyBlue()
Gets the color deep sky blue. |
static RgbColor |
getDimGray()
Gets the color dim gray. |
static RgbColor |
getDodgerBlue()
Gets the color dodger blue. |
static RgbColor |
getFeldspar()
Gets the color feldspar. |
static RgbColor |
getFireBrick()
Gets the color fire brick. |
static RgbColor |
getFloralWhite()
Gets the color floral white. |
static RgbColor |
getForestGreen()
Gets the color forest green. |
static RgbColor |
getFuchsia()
Gets the color fuchsia. |
float |
getG()
Gets the green value. |
static RgbColor |
getGainsboro()
Gets the color gainsboro. |
static RgbColor |
getGhostWhite()
Gets the color ghost white. |
static RgbColor |
getGold()
Gets the color gold. |
static RgbColor |
getGoldenRod()
Gets the color golden rod. |
static RgbColor |
getGray()
Gets the color gray. |
static RgbColor |
getGreen()
|
static RgbColor |
getGreenYellow()
Gets the color green yellow. |
static RgbColor |
getHoneyDew()
Gets the color honey dew. |
static RgbColor |
getHotPink()
Gets the color hot pink. |
static RgbColor |
getIndianRed()
Gets the color indian red. |
static RgbColor |
getIndigo()
Gets the color indigo. |
static RgbColor |
getIvory()
Gets the color ivory. |
static RgbColor |
getKhaki()
Gets the color khaki. |
static RgbColor |
getLavender()
Gets the color lavender. |
static RgbColor |
getLavenderBlush()
Gets the color lavender blush. |
static RgbColor |
getLawnGreen()
Gets the color lawn green. |
static RgbColor |
getLemonChiffon()
Gets the color lemon chiffon. |
static RgbColor |
getLightBlue()
Gets the color light blue. |
static RgbColor |
getLightCoral()
Gets the color light coral. |
static RgbColor |
getLightCyan()
Gets the color light cyan. |
static RgbColor |
getLightGoldenRodYellow()
Gets the color light golden rod yellow. |
static RgbColor |
getLightGreen()
Gets the color light green. |
static RgbColor |
getLightGrey()
Gets the color light grey. |
static RgbColor |
getLightPink()
Gets the color light pink. |
static RgbColor |
getLightSalmon()
Gets the color light salmon. |
static RgbColor |
getLightSeaGreen()
Gets the color light sea green. |
static RgbColor |
getLightSkyBlue()
Gets the color light sky blue. |
static RgbColor |
getLightSlateBlue()
Gets the color light slate blue. |
static RgbColor |
getLightSlateGray()
Gets the color light slate gray. |
static RgbColor |
getLightSteelBlue()
Gets the color light steel blue. |
static RgbColor |
getLightYellow()
Gets the color light yellow. |
static RgbColor |
getLime()
Gets the color lime. |
static RgbColor |
getLimeGreen()
Gets the color lime green. |
static RgbColor |
getLinen()
Gets the color linen. |
static RgbColor |
getMagenta()
Gets the color magenta. |
static RgbColor |
getMaroon()
Gets the color maroon. |
static RgbColor |
getMediumAquaMarine()
Gets the color medium aqua marine. |
static RgbColor |
getMediumBlue()
Gets the color medium blue. |
static RgbColor |
getMediumOrchid()
Gets the color medium orchid. |
static RgbColor |
getMediumPurple()
Gets the color medium purple. |
static RgbColor |
getMediumSeaGreen()
Gets the color medium sea green. |
static RgbColor |
getMediumSlateBlue()
Gets the color medium slate blue. |
static RgbColor |
getMediumSpringGreen()
Gets the color medium spring green. |
static RgbColor |
getMediumTurquoise()
Gets the color medium turquoise. |
static RgbColor |
getMediumVioletRed()
Gets the color medium violet red. |
static RgbColor |
getMidnightBlue()
Gets the color midnight blue. |
static RgbColor |
getMintCream()
Gets the color mint cream. |
static RgbColor |
getMistyRose()
Gets the color misty rose. |
static RgbColor |
getMoccasin()
Gets the color moccasin. |
static RgbColor |
getNavajoWhite()
Gets the color navajo white. |
static RgbColor |
getNavy()
Gets the color navy. |
static RgbColor |
getOldLace()
Gets the color old lace. |
static RgbColor |
getOlive()
Gets the color olive. |
static RgbColor |
getOliveDrab()
Gets the color olive drab. |
static RgbColor |
getOrange()
Gets the color orange. |
static RgbColor |
getOrangeRed()
Gets the color orange red. |
static RgbColor |
getOrchid()
Gets the color orchid. |
static RgbColor |
getPaleGoldenRod()
Gets the color pale golden rod. |
static RgbColor |
getPaleGreen()
Gets the color pale green. |
static RgbColor |
getPaleTurquoise()
Gets the color pale turquoise. |
static RgbColor |
getPaleVioletRed()
Gets the color pale violet red. |
static RgbColor |
getPapayaWhip()
Gets the color papaya whip. |
static RgbColor |
getPeachPuff()
Gets the color peach puff. |
static RgbColor |
getPeru()
Gets the color peru. |
static RgbColor |
getPink()
Gets the color pink. |
static RgbColor |
getPlum()
Gets the color plum. |
static RgbColor |
getPowderBlue()
Gets the color powder blue. |
static RgbColor |
getPurple()
Gets the color purple. |
float |
getR()
Gets the red value. |
static RgbColor |
getRed()
Gets the color red. |
static RgbColor |
getRosyBrown()
Gets the color rosy brown. |
static RgbColor |
getRoyalBlue()
Gets the color royal blue. |
static RgbColor |
getSaddleBrown()
Gets the color saddle brown. |
static RgbColor |
getSalmon()
Gets the color salmon. |
static RgbColor |
getSandyBrown()
Gets the color sandy brown. |
static RgbColor |
getSeaGreen()
Gets the color sea green. |
static RgbColor |
getSeaShell()
Gets the color sea shell. |
static RgbColor |
getSienna()
Gets the color sienna. |
static RgbColor |
getSilver()
Gets the color silver. |
static RgbColor |
getSkyBlue()
Gets the color sky blue. |
static RgbColor |
getSlateBlue()
Gets the color slate blue. |
static RgbColor |
getSlateGray()
Gets the color slate gray. |
static RgbColor |
getSnow()
Gets the color snow. |
static RgbColor |
getSpringGreen()
Gets the color spring green. |
static RgbColor |
getSteelBlue()
Gets the color steel blue. |
static RgbColor |
getTan()
Gets the color tan. |
static RgbColor |
getTeal()
Gets the color teal. |
static RgbColor |
getThistle()
Gets the color thistle. |
static RgbColor |
getTomato()
Gets the color tomato. |
static RgbColor |
getTurquoise()
Gets the color turquoise. |
static RgbColor |
getViolet()
Gets the color violet. |
static RgbColor |
getVioletRed()
Gets the color violet red. |
static RgbColor |
getWheat()
Gets the color wheat. |
static RgbColor |
getWhite()
Gets the color white. |
static RgbColor |
getWhiteSmoke()
Gets the color white smoke. |
static RgbColor |
getYellow()
Gets the color yellow. |
static RgbColor |
getYellowGreen()
Gets the color yellow green. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
protected void |
setColor(byte red,
byte green,
byte blue)
Sets the color. |
protected void |
setColor(float red,
float green,
float blue)
Sets the color. |
void |
toStringBuffer(java.lang.StringBuffer stringBuffer)
Appends the color information to the given StringBuffer object. |
| Methods inherited from class com.cete.dynamicpdf.DeviceColor |
drawFill, drawStroke |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RgbColor(float red,
float green,
float blue)
RgbColor class.
java.lang.IllegalArgumentException - RBG values must be from 0.0 to 1.0.red - The red intensity.green - The green intensity.blue - The blue intensity.RgbColor
public RgbColor(byte red,
byte green,
byte blue)
RgbColor class.
red - The red intensity.green - The green intensity.blue - The blue intensity.RgbColor
public RgbColor(int red,
int green,
int blue)
RgbColor class.
red - The red intensity.green - The green intensity.blue - The blue intensity.RgbColor| Method Detail |
public int getComponents()
getComponents in class DeviceColorpublic ColorSpace getColorSpace()
getColorSpace in class Colorpublic boolean equals(java.lang.Object obje)
equals in class Colorobje - Object to compare to the current Color.
public int hashCode()
hashCode in class ColorColorpublic void toStringBuffer(java.lang.StringBuffer stringBuffer)
toStringBuffer in class DeviceColorstringBuffer - to receive the color information.public static RgbColor getBlack()
public static RgbColor getSilver()
public static RgbColor getDarkGray()
public static RgbColor getGray()
public static RgbColor getDimGray()
public static RgbColor getWhite()
public static RgbColor getRed()
public static RgbColor getGreen()
public static RgbColor getLime()
public static RgbColor getAqua()
public static RgbColor getPurple()
public static RgbColor getBlue()
public static RgbColor getCyan()
public static RgbColor getMagenta()
public static RgbColor getYellow()
public static RgbColor getAliceBlue()
public static RgbColor getAntiqueWhite()
public static RgbColor getAquamarine()
public static RgbColor getAzure()
public static RgbColor getBeige()
public static RgbColor getBisque()
public static RgbColor getBlanchedAlmond()
public static RgbColor getBlueViolet()
public static RgbColor getBrown()
public static RgbColor getBurlyWood()
public static RgbColor getCadetBlue()
public static RgbColor getChartreuse()
public static RgbColor getChocolate()
public static RgbColor getCoral()
public static RgbColor getCornflowerBlue()
public static RgbColor getCornsilk()
public static RgbColor getCrimson()
public static RgbColor getDarkBlue()
public static RgbColor getDarkCyan()
public static RgbColor getDarkGoldenRod()
public static RgbColor getDarkGreen()
public static RgbColor getDarkKhaki()
public static RgbColor getDarkMagenta()
public static RgbColor getDarkOliveGreen()
public static RgbColor getDarkorange()
public static RgbColor getDarkOrchid()
public static RgbColor getDarkRed()
public static RgbColor getDarkSalmon()
public static RgbColor getDarkSeaGreen()
public static RgbColor getDarkSlateBlue()
public static RgbColor getDarkSlateGray()
public static RgbColor getDarkTurquoise()
public static RgbColor getDarkViolet()
public static RgbColor getDeepPink()
public static RgbColor getDeepSkyBlue()
public static RgbColor getDodgerBlue()
public static RgbColor getFeldspar()
public static RgbColor getFireBrick()
public static RgbColor getFloralWhite()
public static RgbColor getForestGreen()
public static RgbColor getFuchsia()
public static RgbColor getGainsboro()
public static RgbColor getGhostWhite()
public static RgbColor getGold()
public static RgbColor getGoldenRod()
public static RgbColor getGreenYellow()
public static RgbColor getHoneyDew()
public static RgbColor getHotPink()
public static RgbColor getIndianRed()
public static RgbColor getIndigo()
public static RgbColor getIvory()
public static RgbColor getKhaki()
public static RgbColor getLavender()
public static RgbColor getLavenderBlush()
public static RgbColor getLawnGreen()
public static RgbColor getLemonChiffon()
public static RgbColor getLightBlue()
public static RgbColor getLightCoral()
public static RgbColor getLightCyan()
public static RgbColor getLightGoldenRodYellow()
public static RgbColor getLightGrey()
public static RgbColor getLightGreen()
public static RgbColor getLightPink()
public static RgbColor getLightSalmon()
public static RgbColor getLightSeaGreen()
public static RgbColor getLightSkyBlue()
public static RgbColor getLightSlateBlue()
public static RgbColor getLightSlateGray()
public static RgbColor getLightSteelBlue()
public static RgbColor getLightYellow()
public static RgbColor getLimeGreen()
public static RgbColor getLinen()
public static RgbColor getMaroon()
public static RgbColor getMediumAquaMarine()
public static RgbColor getMediumBlue()
public static RgbColor getMediumOrchid()
public static RgbColor getMediumPurple()
public static RgbColor getMediumSeaGreen()
public static RgbColor getMediumSlateBlue()
public static RgbColor getMediumSpringGreen()
public static RgbColor getMediumTurquoise()
public static RgbColor getMediumVioletRed()
public static RgbColor getMidnightBlue()
public static RgbColor getMintCream()
public static RgbColor getMistyRose()
public static RgbColor getMoccasin()
public static RgbColor getNavajoWhite()
public static RgbColor getNavy()
public static RgbColor getOldLace()
public static RgbColor getOlive()
public static RgbColor getOliveDrab()
public static RgbColor getOrange()
public static RgbColor getOrangeRed()
public static RgbColor getOrchid()
public static RgbColor getPaleGoldenRod()
public static RgbColor getPaleGreen()
public static RgbColor getPaleTurquoise()
public static RgbColor getPaleVioletRed()
public static RgbColor getPapayaWhip()
public static RgbColor getPeachPuff()
public static RgbColor getPeru()
public static RgbColor getPink()
public static RgbColor getPlum()
public static RgbColor getPowderBlue()
public static RgbColor getRosyBrown()
public static RgbColor getRoyalBlue()
public static RgbColor getSaddleBrown()
public static RgbColor getSalmon()
public static RgbColor getSandyBrown()
public static RgbColor getSeaGreen()
public static RgbColor getSeaShell()
public static RgbColor getSienna()
public static RgbColor getSkyBlue()
public static RgbColor getSlateBlue()
public static RgbColor getSlateGray()
public static RgbColor getSnow()
public static RgbColor getSpringGreen()
public static RgbColor getSteelBlue()
public static RgbColor getTan()
public static RgbColor getTeal()
public static RgbColor getThistle()
public static RgbColor getTomato()
public static RgbColor getTurquoise()
public static RgbColor getViolet()
public static RgbColor getVioletRed()
public static RgbColor getWheat()
public static RgbColor getWhiteSmoke()
public static RgbColor getYellowGreen()
public void drawStroke(OperatorWriter writer)
drawStroke in class Colorwriter - OperatorWriter object to receive the color data.OperatorWriterpublic void drawFill(OperatorWriter writer)
drawFill in class Colorwriter - OperatorWriter object to receive the color data.OperatorWriterpublic float getR()
public float getG()
public float getB()
protected void setColor(float red,
float green,
float blue)
java.lang.IllegalArgumentException - RBG values must be from 0.0 to 1.0.red - Red value to set.green - Green value to set.blue - Blue value to set.
protected void setColor(byte red,
byte green,
byte blue)
red - Red value to set.green - Green value to set.blue - Blue value to set.
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||