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(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) |
String |
toString()
Display the object as a String
|
parseImageGeometrypublic 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(String target) throws MagickException
target - Specifies the color to lookup in the X color databaseMagickExceptionpublic String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.