public class PixelPacket extends Magick
Constructor and Description |
---|
PixelPacket(int red,
int green,
int blue,
int opacity) |
Modifier and Type | Method and Description |
---|---|
int |
getBlue() |
int |
getGreen() |
int |
getOpacity() |
int |
getRed() |
static PixelPacket |
queryColorDatabase(java.lang.String target)
looks up a RGB values for a color given in the target string.
|
void |
setBlue(int blue) |
void |
setGreen(int green) |
void |
setOpacity(int opacity) |
void |
setRed(int red) |
java.lang.String |
toString()
Display the object as a String
|
parseImageGeometry
public void setRed(int red)
public void setGreen(int green)
public void setBlue(int blue)
public void setOpacity(int opacity)
public int getRed()
public int getGreen()
public int getBlue()
public int getOpacity()
public static PixelPacket queryColorDatabase(java.lang.String target) throws MagickException
target
- Specifies the color to lookup in the X color databaseMagickException
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()