magick
Class MontageInfo


public class MontageInfo

Encapsulation of the MontageInfo structure.

Author:
Eric Yeo

Constructor Summary
MontageInfo(ImageInfo imageInfo)
          Constructor.

Method Summary
 PixelPacketgetBackgroundColor()
          Get the background_color PixelPacket value
 PixelPacketgetBorderColor()
          Get the border_color PixelPacket value
 intgetBorderWidth()
          Get the border_width value.
 StringgetFileName()
          Get the filename value
 PixelPacketgetFill()
          Get the fill PixelPacket value
 StringgetFont()
          Get the font string value.
 StringgetFrame()
          Get the frame string value.
 StringgetGeometry()
          Get the geometry string value.
 intgetGravity()
          Get the gravity value.
 PixelPacketgetMatteColor()
          Get the matte_color PixelPacket value
 doublegetPointSize()
          Get the pointsize value.
 booleangetShadow()
          Get the shadow flag.
 PixelPacketgetStroke()
          Get the stroke PixelPacket value
 StringgetTexture()
          Get the texture string value.
 StringgetTile()
          Get the tile string value.
 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(String filename)
          Set the filename value.
 voidsetFill(PixelPacket fill)
          Set the fill PixelPacket value.
 voidsetFont(String str)
          Set the font string value.
 voidsetFrame(String str)
          Set the frame string value.
 voidsetGeometry(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(String str)
          Set the texture string value.
 voidsetTile(String str)
          Set the tile string value.
 voidsetTitle(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

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:
str new background_color PixelPacket value
Throws:
MagickException upon irrecoverable errors

setBorderColor

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

setBorderWidth

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

setFileName

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

setFill

public void setFill(PixelPacket fill)
throws MagickException
Set the fill PixelPacket value.
Parameters:
str new fill PixelPacket value
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:
str new gravity value
Throws:
MagickException upon irrecoverable errors
See Also:
GravityType

setMatteColor

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

setPointSize

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

setShadow

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

setStroke

public void setStroke(PixelPacket stroke)
throws MagickException
Set the stroke PixelPacket value.
Parameters:
str new stroke PixelPacket value
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

JMagick