magick

Class MontageInfo


public class MontageInfo
extends java.lang.Object

Encapsulation of the MontageInfo structure.
Author:
Eric Yeo

Constructor Summary

MontageInfo(ImageInfo imageInfo)
Constructor.

Method Summary

protected void
finalize()
To release memory on cleanup.
PixelPacket
getBackgroundColor()
Get the background_color PixelPacket value
PixelPacket
getBorderColor()
Get the border_color PixelPacket value
int
getBorderWidth()
Get the border_width value.
String
getFileName()
Get the filename value
PixelPacket
getFill()
Get the fill PixelPacket value
String
getFont()
Get the font string value.
String
getFrame()
Get the frame string value.
String
getGeometry()
Get the geometry string value.
int
getGravity()
Get the gravity value.
PixelPacket
getMatteColor()
Get the matte_color PixelPacket value
double
getPointSize()
Get the pointsize value.
boolean
getShadow()
Get the shadow flag.
PixelPacket
getStroke()
Get the stroke PixelPacket value
String
getTexture()
Get the texture string value.
String
getTile()
Get the tile string value.
String
getTitle()
Get the title string value.
void
setBackgroundColor(PixelPacket backgroundColor)
Set the background_color PixelPacket value.
void
setBorderColor(PixelPacket borderColor)
Set the border_color PixelPacket value.
void
setBorderWidth(int borderWidth)
Set the border_width value.
void
setFileName(String filename)
Set the filename value.
void
setFill(PixelPacket fill)
Set the fill PixelPacket value.
void
setFont(String str)
Set the font string value.
void
setFrame(String str)
Set the frame string value.
void
setGeometry(String str)
Set the geometry string value.
void
setGravity(int gravity)
Set the gravity value.
void
setMatteColor(PixelPacket matteColor)
Set the matte_color PixelPacket value.
void
setPointSize(double pointsize)
Set the pointsize value.
void
setShadow(boolean shadow)
Set the shadow flag.
void
setStroke(PixelPacket stroke)
Set the stroke PixelPacket value.
void
setTexture(String str)
Set the texture string value.
void
setTile(String str)
Set the tile string value.
void
setTitle(String str)
Set the title string value.

Constructor Details

MontageInfo

public MontageInfo(ImageInfo imageInfo)
            throws MagickException
Constructor.
Parameters:
imageInfo - contains initial values for MontageInfo
Throws:
MagickException - upon irrecoverable errors

Method Details

finalize

protected void finalize()
To release memory on cleanup.

getBackgroundColor

public PixelPacket getBackgroundColor()
            throws MagickException
Get the background_color PixelPacket value
Returns:
the current background_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

getBorderWidth

public int getBorderWidth()
            throws MagickException
Get the border_width value.
Returns:
the current border_width value
Throws:
MagickException - upon irrecoverable errors

getFileName

public String getFileName()
            throws MagickException
Get the filename value
Returns:
the current filename 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

getFont

public String getFont()
            throws MagickException
Get the font string value.
Returns:
the current font value
Throws:
MagickException - upon irrecoverable errors

getFrame

public String getFrame()
            throws MagickException
Get the frame string value.
Returns:
the current frame value
Throws:
MagickException - upon irrecoverable errors

getGeometry

public String getGeometry()
            throws MagickException
Get the geometry string value.
Returns:
the current geometry value
Throws:
MagickException - upon irrecoverable errors

getGravity

public int getGravity()
            throws MagickException
Get the gravity value.
Returns:
the current gravity value
Throws:
MagickException - upon irrecoverable errors
See Also:
GravityType

getMatteColor

public PixelPacket getMatteColor()
            throws MagickException
Get the matte_color PixelPacket value
Returns:
the current matte_color PixelPacket value
Throws:
MagickException - upon irrecoverable errors

getPointSize

public double getPointSize()
            throws MagickException
Get the pointsize value.
Returns:
the current pointsize value
Throws:
MagickException - upon irrecoverable errors

getShadow

public boolean getShadow()
            throws MagickException
Get the shadow flag.
Returns:
the current shadow flag
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

getTexture

public String getTexture()
            throws MagickException
Get the texture string value.
Returns:
the current texture value
Throws:
MagickException - upon irrecoverable errors

getTile

public String getTile()
            throws MagickException
Get the tile string value.
Returns:
the current tile value
Throws:
MagickException - upon irrecoverable errors

getTitle

public String getTitle()
            throws MagickException
Get the title string value.
Returns:
the current title value
Throws:
MagickException - upon irrecoverable errors

setBackgroundColor

public void setBackgroundColor(PixelPacket backgroundColor)
            throws MagickException
Set the background_color PixelPacket value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setBorderColor

public void setBorderColor(PixelPacket borderColor)
            throws MagickException
Set the border_color PixelPacket value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setBorderWidth

public void setBorderWidth(int borderWidth)
            throws MagickException
Set the border_width value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setFileName

public void setFileName(String filename)
            throws MagickException
Set the filename value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setFill

public void setFill(PixelPacket fill)
            throws MagickException
Set the fill PixelPacket value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setFont

public void setFont(String str)
            throws MagickException
Set the font string value.
Parameters:
str - new font value
Throws:
MagickException - upon irrecoverable errors

setFrame

public void setFrame(String str)
            throws MagickException
Set the frame string value.
Parameters:
str - new frame value
Throws:
MagickException - upon irrecoverable errors

setGeometry

public void setGeometry(String str)
            throws MagickException
Set the geometry string value.
Parameters:
str - new geometry value
Throws:
MagickException - upon irrecoverable errors

setGravity

public void setGravity(int gravity)
            throws MagickException
Set the gravity value.
Parameters:
Throws:
MagickException - upon irrecoverable errors
See Also:
GravityType

setMatteColor

public void setMatteColor(PixelPacket matteColor)
            throws MagickException
Set the matte_color PixelPacket value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setPointSize

public void setPointSize(double pointsize)
            throws MagickException
Set the pointsize value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setShadow

public void setShadow(boolean shadow)
            throws MagickException
Set the shadow flag.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setStroke

public void setStroke(PixelPacket stroke)
            throws MagickException
Set the stroke PixelPacket value.
Parameters:
Throws:
MagickException - upon irrecoverable errors

setTexture

public void setTexture(String str)
            throws MagickException
Set the texture string value.
Parameters:
str - new texture value
Throws:
MagickException - upon irrecoverable errors

setTile

public void setTile(String str)
            throws MagickException
Set the tile string value.
Parameters:
str - new tile value
Throws:
MagickException - upon irrecoverable errors

setTitle

public void setTitle(String str)
            throws MagickException
Set the title string value.
Parameters:
str - new title value
Throws:
MagickException - upon irrecoverable errors