magick
Class PixelPacket

magick.Magick
  |
  +--magick.PixelPacket

public class PixelPacket
extends Magick


Constructor Summary
PixelPacket(int red, int green, int blue, int opacity)
           

Method Summary
 intgetBlue()
           
 intgetGreen()
           
 intgetOpacity()
           
 intgetRed()
           
 static PixelPacketqueryColorDatabase(String target)
          looks up a RGB values for a color given in the target string.
 voidsetBlue(int blue)
           
 voidsetGreen(int green)
           
 voidsetOpacity(int opacity)
           
 voidsetRed(int red)
           

Methods inherited from class magick.Magick
parseImageGeometry

Constructor Detail

PixelPacket

public PixelPacket(int red, int green, int blue, int opacity)
Method Detail

getBlue

public int getBlue()

getGreen

public int getGreen()

getOpacity

public int getOpacity()

getRed

public int getRed()

queryColorDatabase

public static PixelPacket queryColorDatabase(String target)
throws MagickException
looks up a RGB values for a color given in the target string.
Parameters:
target Specifies the color to lookup in the X color database
Returns: a PixelPacket that represents the target

setBlue

public void setBlue(int blue)

setGreen

public void setGreen(int green)

setOpacity

public void setOpacity(int opacity)

setRed

public void setRed(int red)

JMagick