magick
Class PixelPacket
magick.Magick
|
+--magick.PixelPacket
- public class PixelPacket
- extends Magick
Constructor Summary |
PixelPacket(int red, int green, int blue, int opacity) |
PixelPacket
public PixelPacket(int red, int green, int blue, int opacity)
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)