DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class RgbColor

java.lang.Object
  |
  +--com.cete.dynamicpdf.Color
        |
        +--com.cete.dynamicpdf.DeviceColor
              |
              +--com.cete.dynamicpdf.RgbColor
Direct Known Subclasses:
WebColor

public class RgbColor
extends DeviceColor

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

RgbColor

public RgbColor(float red,
                float green,
                float blue)
Initializes a new instance of the RgbColor class.

Throws:
java.lang.IllegalArgumentException - RBG values must be from 0.0 to 1.0.
Parameters:
red - The red intensity.
green - The green intensity.
blue - The blue intensity.
See Also:
RgbColor

RgbColor

public RgbColor(byte red,
                byte green,
                byte blue)
Initializes a new instance of the RgbColor class.

Parameters:
red - The red intensity.
green - The green intensity.
blue - The blue intensity.
See Also:
RgbColor

RgbColor

public RgbColor(int red,
                int green,
                int blue)
Initializes a new instance of the RgbColor class.

Parameters:
red - The red intensity.
green - The green intensity.
blue - The blue intensity.
See Also:
RgbColor
Method Detail

getComponents

public int getComponents()
Gets the number of components for the device color.

Specified by:
getComponents in class DeviceColor

getColorSpace

public ColorSpace getColorSpace()
Gets the color space for the color.

Specified by:
getColorSpace in class Color

equals

public boolean equals(java.lang.Object obje)
Tests equality of colors.

Specified by:
equals in class Color
Parameters:
obje - Object to compare to the current Color.
Returns:
true if the two colors are equal.

hashCode

public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Specified by:
hashCode in class Color
Returns:
A hash code for the current Color

toStringBuffer

public void toStringBuffer(java.lang.StringBuffer stringBuffer)
Appends the color information to the given StringBuffer object.

Specified by:
toStringBuffer in class DeviceColor
Parameters:
stringBuffer - to receive the color information.

getBlack

public static RgbColor getBlack()
Gets the color black.


getSilver

public static RgbColor getSilver()
Gets the color silver.


getDarkGray

public static RgbColor getDarkGray()
Gets the color dark gray.


getGray

public static RgbColor getGray()
Gets the color gray.


getDimGray

public static RgbColor getDimGray()
Gets the color dim gray.


getWhite

public static RgbColor getWhite()
Gets the color white.


getRed

public static RgbColor getRed()
Gets the color red.


getGreen

public static RgbColor getGreen()

getLime

public static RgbColor getLime()
Gets the color lime.


getAqua

public static RgbColor getAqua()
Gets the color aqua.


getPurple

public static RgbColor getPurple()
Gets the color purple.


getBlue

public static RgbColor getBlue()
Gets the color blue.


getCyan

public static RgbColor getCyan()
Gets the color cyan.


getMagenta

public static RgbColor getMagenta()
Gets the color magenta.


getYellow

public static RgbColor getYellow()
Gets the color yellow.


getAliceBlue

public static RgbColor getAliceBlue()
Gets the color alice blue.


getAntiqueWhite

public static RgbColor getAntiqueWhite()
Gets the color antique white.


getAquamarine

public static RgbColor getAquamarine()
Gets the color aquamarine.


getAzure

public static RgbColor getAzure()
Gets the color azure.


getBeige

public static RgbColor getBeige()
Gets the color beige.


getBisque

public static RgbColor getBisque()
Gets the color bisque.


getBlanchedAlmond

public static RgbColor getBlanchedAlmond()
Gets the color blanched almond.


getBlueViolet

public static RgbColor getBlueViolet()

getBrown

public static RgbColor getBrown()
Gets the color brown.


getBurlyWood

public static RgbColor getBurlyWood()
Gets the color burly wood.


getCadetBlue

public static RgbColor getCadetBlue()
Gets the color cadet blue.


getChartreuse

public static RgbColor getChartreuse()
Gets the color chartreuse.


getChocolate

public static RgbColor getChocolate()
Gets the color chocolate.


getCoral

public static RgbColor getCoral()
Gets the color coral.


getCornflowerBlue

public static RgbColor getCornflowerBlue()
Gets the color cornflower blue.


getCornsilk

public static RgbColor getCornsilk()
Gets the color cornsilk.


getCrimson

public static RgbColor getCrimson()
Gets the color crimson.


getDarkBlue

public static RgbColor getDarkBlue()
Gets the color dark blue.


getDarkCyan

public static RgbColor getDarkCyan()
Gets the color dark cyan.


getDarkGoldenRod

public static RgbColor getDarkGoldenRod()
Gets the color dark golden rod.


getDarkGreen

public static RgbColor getDarkGreen()
Gets the color dark green.


getDarkKhaki

public static RgbColor getDarkKhaki()
Gets the color dark khaki.


getDarkMagenta

public static RgbColor getDarkMagenta()
Gets the color dark magenta.


getDarkOliveGreen

public static RgbColor getDarkOliveGreen()
Gets the color dark olive green.


getDarkorange

public static RgbColor getDarkorange()
Gets the color dark orange.


getDarkOrchid

public static RgbColor getDarkOrchid()
Gets the color dark orchid.


getDarkRed

public static RgbColor getDarkRed()
Gets the color dark red.


getDarkSalmon

public static RgbColor getDarkSalmon()
Gets the color dark salmon.


getDarkSeaGreen

public static RgbColor getDarkSeaGreen()
Gets the color dark sea green.


getDarkSlateBlue

public static RgbColor getDarkSlateBlue()
Gets the color dark slate blue.


getDarkSlateGray

public static RgbColor getDarkSlateGray()
Gets the color dark slate gray.


getDarkTurquoise

public static RgbColor getDarkTurquoise()
Gets the color dark turquoise.


getDarkViolet

public static RgbColor getDarkViolet()
Gets the color dark violet.


getDeepPink

public static RgbColor getDeepPink()
Gets the color deep pink.


getDeepSkyBlue

public static RgbColor getDeepSkyBlue()
Gets the color deep sky blue.


getDodgerBlue

public static RgbColor getDodgerBlue()
Gets the color dodger blue.


getFeldspar

public static RgbColor getFeldspar()
Gets the color feldspar.


getFireBrick

public static RgbColor getFireBrick()
Gets the color fire brick.


getFloralWhite

public static RgbColor getFloralWhite()
Gets the color floral white.


getForestGreen

public static RgbColor getForestGreen()
Gets the color forest green.


getFuchsia

public static RgbColor getFuchsia()
Gets the color fuchsia.


getGainsboro

public static RgbColor getGainsboro()
Gets the color gainsboro.


getGhostWhite

public static RgbColor getGhostWhite()
Gets the color ghost white.


getGold

public static RgbColor getGold()
Gets the color gold.


getGoldenRod

public static RgbColor getGoldenRod()
Gets the color golden rod.


getGreenYellow

public static RgbColor getGreenYellow()
Gets the color green yellow.


getHoneyDew

public static RgbColor getHoneyDew()
Gets the color honey dew.


getHotPink

public static RgbColor getHotPink()
Gets the color hot pink.


getIndianRed

public static RgbColor getIndianRed()
Gets the color indian red.


getIndigo

public static RgbColor getIndigo()
Gets the color indigo.


getIvory

public static RgbColor getIvory()
Gets the color ivory.


getKhaki

public static RgbColor getKhaki()
Gets the color khaki.


getLavender

public static RgbColor getLavender()
Gets the color lavender.


getLavenderBlush

public static RgbColor getLavenderBlush()
Gets the color lavender blush.


getLawnGreen

public static RgbColor getLawnGreen()
Gets the color lawn green.


getLemonChiffon

public static RgbColor getLemonChiffon()
Gets the color lemon chiffon.


getLightBlue

public static RgbColor getLightBlue()
Gets the color light blue.


getLightCoral

public static RgbColor getLightCoral()
Gets the color light coral.


getLightCyan

public static RgbColor getLightCyan()
Gets the color light cyan.


getLightGoldenRodYellow

public static RgbColor getLightGoldenRodYellow()
Gets the color light golden rod yellow.


getLightGrey

public static RgbColor getLightGrey()
Gets the color light grey.


getLightGreen

public static RgbColor getLightGreen()
Gets the color light green.


getLightPink

public static RgbColor getLightPink()
Gets the color light pink.


getLightSalmon

public static RgbColor getLightSalmon()
Gets the color light salmon.


getLightSeaGreen

public static RgbColor getLightSeaGreen()
Gets the color light sea green.


getLightSkyBlue

public static RgbColor getLightSkyBlue()
Gets the color light sky blue.


getLightSlateBlue

public static RgbColor getLightSlateBlue()
Gets the color light slate blue.


getLightSlateGray

public static RgbColor getLightSlateGray()
Gets the color light slate gray.


getLightSteelBlue

public static RgbColor getLightSteelBlue()
Gets the color light steel blue.


getLightYellow

public static RgbColor getLightYellow()
Gets the color light yellow.


getLimeGreen

public static RgbColor getLimeGreen()
Gets the color lime green.


getLinen

public static RgbColor getLinen()
Gets the color linen.


getMaroon

public static RgbColor getMaroon()
Gets the color maroon.


getMediumAquaMarine

public static RgbColor getMediumAquaMarine()
Gets the color medium aqua marine.


getMediumBlue

public static RgbColor getMediumBlue()
Gets the color medium blue.


getMediumOrchid

public static RgbColor getMediumOrchid()
Gets the color medium orchid.


getMediumPurple

public static RgbColor getMediumPurple()
Gets the color medium purple.


getMediumSeaGreen

public static RgbColor getMediumSeaGreen()
Gets the color medium sea green.


getMediumSlateBlue

public static RgbColor getMediumSlateBlue()
Gets the color medium slate blue.


getMediumSpringGreen

public static RgbColor getMediumSpringGreen()
Gets the color medium spring green.


getMediumTurquoise

public static RgbColor getMediumTurquoise()
Gets the color medium turquoise.


getMediumVioletRed

public static RgbColor getMediumVioletRed()
Gets the color medium violet red.


getMidnightBlue

public static RgbColor getMidnightBlue()
Gets the color midnight blue.


getMintCream

public static RgbColor getMintCream()
Gets the color mint cream.


getMistyRose

public static RgbColor getMistyRose()
Gets the color misty rose.


getMoccasin

public static RgbColor getMoccasin()
Gets the color moccasin.


getNavajoWhite

public static RgbColor getNavajoWhite()
Gets the color navajo white.


getNavy

public static RgbColor getNavy()
Gets the color navy.


getOldLace

public static RgbColor getOldLace()
Gets the color old lace.


getOlive

public static RgbColor getOlive()
Gets the color olive.


getOliveDrab

public static RgbColor getOliveDrab()
Gets the color olive drab.


getOrange

public static RgbColor getOrange()
Gets the color orange.


getOrangeRed

public static RgbColor getOrangeRed()
Gets the color orange red.


getOrchid

public static RgbColor getOrchid()
Gets the color orchid.


getPaleGoldenRod

public static RgbColor getPaleGoldenRod()
Gets the color pale golden rod.


getPaleGreen

public static RgbColor getPaleGreen()
Gets the color pale green.


getPaleTurquoise

public static RgbColor getPaleTurquoise()
Gets the color pale turquoise.


getPaleVioletRed

public static RgbColor getPaleVioletRed()
Gets the color pale violet red.


getPapayaWhip

public static RgbColor getPapayaWhip()
Gets the color papaya whip.


getPeachPuff

public static RgbColor getPeachPuff()
Gets the color peach puff.


getPeru

public static RgbColor getPeru()
Gets the color peru.


getPink

public static RgbColor getPink()
Gets the color pink.


getPlum

public static RgbColor getPlum()
Gets the color plum.


getPowderBlue

public static RgbColor getPowderBlue()
Gets the color powder blue.


getRosyBrown

public static RgbColor getRosyBrown()
Gets the color rosy brown.


getRoyalBlue

public static RgbColor getRoyalBlue()
Gets the color royal blue.


getSaddleBrown

public static RgbColor getSaddleBrown()
Gets the color saddle brown.


getSalmon

public static RgbColor getSalmon()
Gets the color salmon.


getSandyBrown

public static RgbColor getSandyBrown()
Gets the color sandy brown.


getSeaGreen

public static RgbColor getSeaGreen()
Gets the color sea green.


getSeaShell

public static RgbColor getSeaShell()
Gets the color sea shell.


getSienna

public static RgbColor getSienna()
Gets the color sienna.


getSkyBlue

public static RgbColor getSkyBlue()
Gets the color sky blue.


getSlateBlue

public static RgbColor getSlateBlue()
Gets the color slate blue.


getSlateGray

public static RgbColor getSlateGray()
Gets the color slate gray.


getSnow

public static RgbColor getSnow()
Gets the color snow.


getSpringGreen

public static RgbColor getSpringGreen()
Gets the color spring green.


getSteelBlue

public static RgbColor getSteelBlue()
Gets the color steel blue.


getTan

public static RgbColor getTan()
Gets the color tan.


getTeal

public static RgbColor getTeal()
Gets the color teal.


getThistle

public static RgbColor getThistle()
Gets the color thistle.


getTomato

public static RgbColor getTomato()
Gets the color tomato.


getTurquoise

public static RgbColor getTurquoise()
Gets the color turquoise.


getViolet

public static RgbColor getViolet()
Gets the color violet.


getVioletRed

public static RgbColor getVioletRed()
Gets the color violet red.


getWheat

public static RgbColor getWheat()
Gets the color wheat.


getWhiteSmoke

public static RgbColor getWhiteSmoke()
Gets the color white smoke.


getYellowGreen

public static RgbColor getYellowGreen()
Gets the color yellow green.


drawStroke

public void drawStroke(OperatorWriter writer)
Draws the color data to the given PageWriter object.

Overrides:
drawStroke in class Color
Parameters:
writer - OperatorWriter object to receive the color data.
See Also:
OperatorWriter

drawFill

public void drawFill(OperatorWriter writer)
Draws the color data to the given PageWriter object.

Overrides:
drawFill in class Color
Parameters:
writer - OperatorWriter object to receive the color data.
See Also:
OperatorWriter

getR

public float getR()
Gets the red value.


getG

public float getG()
Gets the green value.


getB

public float getB()
Gets the blue value.


setColor

protected void setColor(float red,
                        float green,
                        float blue)
Sets the color.

Throws:
java.lang.IllegalArgumentException - RBG values must be from 0.0 to 1.0.
Parameters:
red - Red value to set.
green - Green value to set.
blue - Blue value to set.

setColor

protected void setColor(byte red,
                        byte green,
                        byte blue)
Sets the color.

Parameters:
red - Red value to set.
green - Green value to set.
blue - Blue value to set.

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.3 for Java generated on March 22, 2007
© Copyright 2007, ceTe Software