|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmagick.Magick
magick.DrawInfo
public class DrawInfo
Encapsulation of the ImageMagick DrawInfo structure.
Constructor Summary | |
---|---|
DrawInfo(ImageInfo imageInfo)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class magick.Magick |
---|
parseImageGeometry |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawInfo(ImageInfo imageInfo) throws MagickException
imageInfo
- default values for DrawInfo this taken from this
MagickException
Method Detail |
---|
protected void finalize()
finalize
in class java.lang.Object
public void setPrimitive(java.lang.String primitive) throws MagickException
primitive
- value of the primitive field
MagickException
public java.lang.String getPrimitive() throws MagickException
MagickException
public java.lang.String getText() throws MagickException
MagickException
public void setText(java.lang.String text) throws MagickException
text
- value of the text field
MagickException
public java.lang.String getGeometry() throws MagickException
MagickException
public void setGeometry(java.lang.String geometry) throws MagickException
geometry
- value of the geometry field
MagickException
public void setFont(java.lang.String font) throws MagickException
font
- value of the font field
MagickException
public java.lang.String getFont() throws MagickException
MagickException
public void setStrokeAntialias(boolean strokeAntialias) throws MagickException
strokeAntialias
- whether antialiasing is enable
MagickException
public boolean getStrokeAntialias() throws MagickException
MagickException
public void setTextAntialias(boolean textAntialias) throws MagickException
textAntialias
- whether antialiasing is enable
MagickException
public boolean getTextAntialias() throws MagickException
MagickException
public void setGravity(int gravity) throws MagickException
gravity
- the new GravityType value
MagickException
GravityType
public int getGravity() throws MagickException
MagickException
GravityType
public void setOpacity(int opacity) throws MagickException
opacity
- the new opacity value
MagickException
public int getOpacity() throws MagickException
MagickException
public void setDecorate(int decoration) throws MagickException
decoration
- the new DecorationType value
MagickException
DecorationType
public int getDecorate() throws MagickException
MagickException
DecorationType
public void setStrokeWidth(double strokeWidth) throws MagickException
strokeWidth
- value of the stroke_width attribute
MagickException
public double getStrokeWidth() throws MagickException
MagickException
public void setPointsize(double pointsize) throws MagickException
pointsize
- value of the pointsize attribute
MagickException
public double getPointsize() throws MagickException
MagickException
public void setFill(PixelPacket fill) throws MagickException
fill
- new value of the fill attribute
MagickException
public PixelPacket getFill() throws MagickException
MagickException
public void setStroke(PixelPacket stroke) throws MagickException
stroke
- new value of the fill attribute
MagickException
public PixelPacket getStroke() throws MagickException
MagickException
public void setUnderColor(PixelPacket underColor) throws MagickException
underColor
- new value of the fill attribute
MagickException
public PixelPacket getUnderColor() throws MagickException
MagickException
public void setBorderColor(PixelPacket borderColor) throws MagickException
borderColor
- new value of the fill attribute
MagickException
public PixelPacket getBorderColor() throws MagickException
MagickException
public void setTile(MagickImage image) throws MagickException
image
- the tile image to set
MagickException
- if any error occurspublic MagickImage getTile() throws MagickException
MagickException
- if any error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |