public class DrawInfo extends Magick
| Constructor | Description |
|---|---|
DrawInfo(ImageInfo imageInfo) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
finalize() |
If the garbabe collector removes us, we had better release
the memory we occupy.
|
PixelPacket |
getBorderColor() |
Get the border_color attribute in the DrawInfo handle.
|
int |
getDecorate() |
Get the decorate attribute in the DrawInfo handle.
|
PixelPacket |
getFill() |
Get the fill attribute in the DrawInfo handle.
|
java.lang.String |
getFont() |
Get the font field in the DrawInfo.
|
java.lang.String |
getGeometry() |
Get the geometry field in the DrawInfo.
|
int |
getGravity() |
Get the gravity attribute in the DrawInfo handle.
|
int |
getOpacity() |
Get the opacity attribute in the DrawInfo handle.
|
double |
getPointsize() |
Get the pointsize attribute in the DrawInfo handle.
|
java.lang.String |
getPrimitive() |
Get the primitive field in the DrawInfo.
|
PixelPacket |
getStroke() |
Get the stroke attribute in the DrawInfo handle.
|
boolean |
getStrokeAntialias() |
Return the stroke_antialias attribute in the DrawInfo handle.
|
double |
getStrokeWidth() |
Get the stroke_width attribute in the DrawInfo handle.
|
java.lang.String |
getText() |
Get the text field in the DrawInfo.
|
boolean |
getTextAntialias() |
Return the text_antialias attribute in the DrawInfo handle.
|
MagickImage |
getTile() |
Get the tile image from the DrawInfo.
|
PixelPacket |
getUnderColor() |
Get the undercolor attribute in the DrawInfo handle.
|
void |
setBorderColor(PixelPacket borderColor) |
Set the border_color attribute in the DrawInfo handle.
|
void |
setDecorate(int decoration) |
Set the decorate attribute in the DrawInfo handle.
|
void |
setFill(PixelPacket fill) |
Set the fill attribute in the DrawInfo handle.
|
void |
setFont(java.lang.String font) |
Set the font field in the DrawInfo.
|
void |
setGeometry(java.lang.String geometry) |
Set the geometry field in the DrawInfo.
|
void |
setGravity(int gravity) |
Set the gravity attribute in the DrawInfo handle.
|
void |
setOpacity(int opacity) |
Set the opacity attribute in the DrawInfo handle.
|
void |
setPointsize(double pointsize) |
Set the pointsize attribute in the DrawInfo handle.
|
void |
setPrimitive(java.lang.String primitive) |
Set the primitive field in the DrawInfo.
|
void |
setStroke(PixelPacket stroke) |
Set the stroke attribute in the DrawInfo handle.
|
void |
setStrokeAntialias(boolean strokeAntialias) |
Set the stroke_antialias attribute in the DrawInfo handle.
|
void |
setStrokeWidth(double strokeWidth) |
Set the stroke_width attribute in the DrawInfo handle.
|
void |
setText(java.lang.String text) |
Set the text field in the DrawInfo.
|
void |
setTextAntialias(boolean textAntialias) |
Set the text_antialias attribute in the DrawInfo handle.
|
void |
setTile(MagickImage image) |
Set the tile image in the DrawInfo.
|
void |
setUnderColor(PixelPacket underColor) |
Set the undercolor attribute in the DrawInfo handle.
|
parseImageGeometrypublic DrawInfo(ImageInfo imageInfo) throws MagickException
imageInfo - default values for DrawInfo this taken from thisMagickExceptionprotected void finalize()
finalize in class java.lang.Objectpublic void setPrimitive(java.lang.String primitive)
throws MagickException
primitive - value of the primitive fieldMagickExceptionpublic java.lang.String getPrimitive()
throws MagickException
MagickExceptionpublic java.lang.String getText()
throws MagickException
MagickExceptionpublic void setText(java.lang.String text)
throws MagickException
text - value of the text fieldMagickExceptionpublic java.lang.String getGeometry()
throws MagickException
MagickExceptionpublic void setGeometry(java.lang.String geometry)
throws MagickException
geometry - value of the geometry fieldMagickExceptionpublic void setFont(java.lang.String font)
throws MagickException
font - value of the font fieldMagickExceptionpublic java.lang.String getFont()
throws MagickException
MagickExceptionpublic void setStrokeAntialias(boolean strokeAntialias)
throws MagickException
strokeAntialias - whether antialiasing is enableMagickExceptionpublic boolean getStrokeAntialias()
throws MagickException
MagickExceptionpublic void setTextAntialias(boolean textAntialias)
throws MagickException
textAntialias - whether antialiasing is enableMagickExceptionpublic boolean getTextAntialias()
throws MagickException
MagickExceptionpublic void setGravity(int gravity)
throws MagickException
gravity - the new GravityType valueMagickExceptionGravityTypepublic int getGravity()
throws MagickException
MagickExceptionGravityTypepublic void setOpacity(int opacity)
throws MagickException
opacity - the new opacity valueMagickExceptionpublic int getOpacity()
throws MagickException
MagickExceptionpublic void setDecorate(int decoration)
throws MagickException
decorate - the new DecorationType valueMagickExceptionDecorationTypepublic int getDecorate()
throws MagickException
MagickExceptionDecorationTypepublic void setStrokeWidth(double strokeWidth)
throws MagickException
strokeWidth - value of the stroke_width attributeMagickExceptionpublic double getStrokeWidth()
throws MagickException
MagickExceptionpublic void setPointsize(double pointsize)
throws MagickException
pointsize - value of the pointsize attributeMagickExceptionpublic double getPointsize()
throws MagickException
MagickExceptionpublic void setFill(PixelPacket fill) throws MagickException
fill - new value of the fill attributeMagickExceptionpublic PixelPacket getFill() throws MagickException
MagickExceptionpublic void setStroke(PixelPacket stroke) throws MagickException
stroke - new value of the fill attributeMagickExceptionpublic PixelPacket getStroke() throws MagickException
MagickExceptionpublic void setUnderColor(PixelPacket underColor) throws MagickException
underColor - new value of the fill attributeMagickExceptionpublic PixelPacket getUnderColor() throws MagickException
MagickExceptionpublic void setBorderColor(PixelPacket borderColor) throws MagickException
borderColor - new value of the fill attributeMagickExceptionpublic PixelPacket getBorderColor() throws MagickException
MagickExceptionpublic void setTile(MagickImage image) throws MagickException
image - the tile image to setMagickException - if any error occurspublic MagickImage getTile() throws MagickException
MagickException - if any error occurs