Package magick
Class MontageInfo
- java.lang.Object
-
- magick.MontageInfo
-
public class MontageInfo extends java.lang.ObjectEncapsulation of the MontageInfo structure.- Author:
- Eric Yeo
-
-
Constructor Summary
Constructors Constructor Description MontageInfo(ImageInfo imageInfo)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()To release memory on cleanup.PixelPacketgetBackgroundColor()Get the background_color PixelPacket valuePixelPacketgetBorderColor()Get the border_color PixelPacket valueintgetBorderWidth()Get the border_width value.java.lang.StringgetFileName()Get the filename valuePixelPacketgetFill()Get the fill PixelPacket valuejava.lang.StringgetFont()Get the font string value.java.lang.StringgetFrame()Get the frame string value.java.lang.StringgetGeometry()Get the geometry string value.intgetGravity()Get the gravity value.PixelPacketgetMatteColor()Get the matte_color PixelPacket valuedoublegetPointSize()Get the pointsize value.booleangetShadow()Get the shadow flag.PixelPacketgetStroke()Get the stroke PixelPacket valuejava.lang.StringgetTexture()Get the texture string value.java.lang.StringgetTile()Get the tile string value.java.lang.StringgetTitle()Get the title string value.voidsetBackgroundColor(PixelPacket backgroundColor)Set the background_color PixelPacket value.voidsetBorderColor(PixelPacket borderColor)Set the border_color PixelPacket value.voidsetBorderWidth(int borderWidth)Set the border_width value.voidsetFileName(java.lang.String filename)Set the filename value.voidsetFill(PixelPacket fill)Set the fill PixelPacket value.voidsetFont(java.lang.String str)Set the font string value.voidsetFrame(java.lang.String str)Set the frame string value.voidsetGeometry(java.lang.String str)Set the geometry string value.voidsetGravity(int gravity)Set the gravity value.voidsetMatteColor(PixelPacket matteColor)Set the matte_color PixelPacket value.voidsetPointSize(double pointsize)Set the pointsize value.voidsetShadow(boolean shadow)Set the shadow flag.voidsetStroke(PixelPacket stroke)Set the stroke PixelPacket value.voidsetTexture(java.lang.String str)Set the texture string value.voidsetTile(java.lang.String str)Set the tile string value.voidsetTitle(java.lang.String str)Set the title string value.
-
-
-
Constructor Detail
-
MontageInfo
public MontageInfo(ImageInfo imageInfo) throws MagickException
Constructor.- Parameters:
imageInfo- contains initial values for MontageInfo- Throws:
MagickException- upon irrecoverable errors
-
-
Method Detail
-
finalize
protected void finalize()
To release memory on cleanup.- Overrides:
finalizein classjava.lang.Object
-
setGeometry
public void setGeometry(java.lang.String str) throws MagickExceptionSet the geometry string value.- Parameters:
str- new geometry value- Throws:
MagickException- upon irrecoverable errors
-
getGeometry
public java.lang.String getGeometry() throws MagickExceptionGet the geometry string value.- Returns:
- the current geometry value
- Throws:
MagickException- upon irrecoverable errors
-
setTile
public void setTile(java.lang.String str) throws MagickExceptionSet the tile string value.- Parameters:
str- new tile value- Throws:
MagickException- upon irrecoverable errors
-
getTile
public java.lang.String getTile() throws MagickExceptionGet the tile string value.- Returns:
- the current tile value
- Throws:
MagickException- upon irrecoverable errors
-
setTitle
public void setTitle(java.lang.String str) throws MagickExceptionSet the title string value.- Parameters:
str- new title value- Throws:
MagickException- upon irrecoverable errors
-
getTitle
public java.lang.String getTitle() throws MagickExceptionGet the title string value.- Returns:
- the current title value
- Throws:
MagickException- upon irrecoverable errors
-
setFrame
public void setFrame(java.lang.String str) throws MagickExceptionSet the frame string value.- Parameters:
str- new frame value- Throws:
MagickException- upon irrecoverable errors
-
getFrame
public java.lang.String getFrame() throws MagickExceptionGet the frame string value.- Returns:
- the current frame value
- Throws:
MagickException- upon irrecoverable errors
-
setTexture
public void setTexture(java.lang.String str) throws MagickExceptionSet the texture string value.- Parameters:
str- new texture value- Throws:
MagickException- upon irrecoverable errors
-
getTexture
public java.lang.String getTexture() throws MagickExceptionGet the texture string value.- Returns:
- the current texture value
- Throws:
MagickException- upon irrecoverable errors
-
setFont
public void setFont(java.lang.String str) throws MagickExceptionSet the font string value.- Parameters:
str- new font value- Throws:
MagickException- upon irrecoverable errors
-
getFont
public java.lang.String getFont() throws MagickExceptionGet the font string value.- Returns:
- the current font value
- Throws:
MagickException- upon irrecoverable errors
-
setPointSize
public void setPointSize(double pointsize) throws MagickExceptionSet the pointsize value.- Parameters:
pointsize- new pointsize value- Throws:
MagickException- upon irrecoverable errors
-
getPointSize
public double getPointSize() throws MagickExceptionGet the pointsize value.- Returns:
- the current pointsize value
- Throws:
MagickException- upon irrecoverable errors
-
setBorderWidth
public void setBorderWidth(int borderWidth) throws MagickExceptionSet the border_width value.- Parameters:
borderWidth- new border_width value- Throws:
MagickException- upon irrecoverable errors
-
getBorderWidth
public int getBorderWidth() throws MagickExceptionGet the border_width value.- Returns:
- the current border_width value
- Throws:
MagickException- upon irrecoverable errors
-
setGravity
public void setGravity(int gravity) throws MagickExceptionSet the gravity value.- Parameters:
gravity- new gravity value- Throws:
MagickException- upon irrecoverable errors- See Also:
GravityType
-
getGravity
public int getGravity() throws MagickExceptionGet the gravity value.- Returns:
- the current gravity value
- Throws:
MagickException- upon irrecoverable errors- See Also:
GravityType
-
setShadow
public void setShadow(boolean shadow) throws MagickExceptionSet the shadow flag.- Parameters:
shadow- new shadow flag- Throws:
MagickException- upon irrecoverable errors
-
getShadow
public boolean getShadow() throws MagickExceptionGet the shadow flag.- Returns:
- the current shadow flag
- Throws:
MagickException- upon irrecoverable errors
-
setFill
public void setFill(PixelPacket fill) throws MagickException
Set the fill PixelPacket value.- Parameters:
fill- new fill PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getFill
public PixelPacket getFill() throws MagickException
Get the fill PixelPacket value- Returns:
- the current fill PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setStroke
public void setStroke(PixelPacket stroke) throws MagickException
Set the stroke PixelPacket value.- Parameters:
stroke- new stroke PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getStroke
public PixelPacket getStroke() throws MagickException
Get the stroke PixelPacket value- Returns:
- the current stroke PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setBackgroundColor
public void setBackgroundColor(PixelPacket backgroundColor) throws MagickException
Set the background_color PixelPacket value.- Parameters:
backgroundColor- new background_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getBackgroundColor
public PixelPacket getBackgroundColor() throws MagickException
Get the background_color PixelPacket value- Returns:
- the current background_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setBorderColor
public void setBorderColor(PixelPacket borderColor) throws MagickException
Set the border_color PixelPacket value.- Parameters:
borderColor- new border_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getBorderColor
public PixelPacket getBorderColor() throws MagickException
Get the border_color PixelPacket value- Returns:
- the current border_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setMatteColor
public void setMatteColor(PixelPacket matteColor) throws MagickException
Set the matte_color PixelPacket value.- Parameters:
matteColor- new matte_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getMatteColor
public PixelPacket getMatteColor() throws MagickException
Get the matte_color PixelPacket value- Returns:
- the current matte_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setFileName
public void setFileName(java.lang.String filename) throws MagickExceptionSet the filename value.- Parameters:
filename- new filename value- Throws:
MagickException- upon irrecoverable errors
-
getFileName
public java.lang.String getFileName() throws MagickExceptionGet the filename value- Returns:
- the current filename value
- Throws:
MagickException- upon irrecoverable errors
-
-