Class MontageInfo
java.lang.Object
magick.MontageInfo
Encapsulation of the MontageInfo structure.
- Author:
- Eric Yeo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()To release memory on cleanup.Get the background_color PixelPacket valueGet the border_color PixelPacket valueintGet the border_width value.Get the filename valuegetFill()Get the fill PixelPacket valuegetFont()Get the font string value.getFrame()Get the frame string value.Get the geometry string value.intGet the gravity value.Get the matte_color PixelPacket valuedoubleGet the pointsize value.booleanGet the shadow flag.Get the stroke PixelPacket valueGet the texture string value.getTile()Get the tile string value.getTitle()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.voidSet the font string value.voidSet 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.voidSet the tile string value.voidSet the title string value.
-
Constructor Details
-
MontageInfo
Constructor.- Parameters:
imageInfo- contains initial values for MontageInfo- Throws:
MagickException- upon irrecoverable errors
-
-
Method Details
-
finalize
-
setGeometry
Set the geometry string value.- Parameters:
str- new geometry value- Throws:
MagickException- upon irrecoverable errors
-
getGeometry
Get the geometry string value.- Returns:
- the current geometry value
- Throws:
MagickException- upon irrecoverable errors
-
setTile
Set the tile string value.- Parameters:
str- new tile value- Throws:
MagickException- upon irrecoverable errors
-
getTile
Get the tile string value.- Returns:
- the current tile value
- Throws:
MagickException- upon irrecoverable errors
-
setTitle
Set the title string value.- Parameters:
str- new title value- Throws:
MagickException- upon irrecoverable errors
-
getTitle
Get the title string value.- Returns:
- the current title value
- Throws:
MagickException- upon irrecoverable errors
-
setFrame
Set the frame string value.- Parameters:
str- new frame value- Throws:
MagickException- upon irrecoverable errors
-
getFrame
Get the frame string value.- Returns:
- the current frame value
- Throws:
MagickException- upon irrecoverable errors
-
setTexture
Set the texture string value.- Parameters:
str- new texture value- Throws:
MagickException- upon irrecoverable errors
-
getTexture
Get the texture string value.- Returns:
- the current texture value
- Throws:
MagickException- upon irrecoverable errors
-
setFont
Set the font string value.- Parameters:
str- new font value- Throws:
MagickException- upon irrecoverable errors
-
getFont
Get the font string value.- Returns:
- the current font value
- Throws:
MagickException- upon irrecoverable errors
-
setPointSize
Set the pointsize value.- Parameters:
pointsize- new pointsize value- Throws:
MagickException- upon irrecoverable errors
-
getPointSize
Get the pointsize value.- Returns:
- the current pointsize value
- Throws:
MagickException- upon irrecoverable errors
-
setBorderWidth
Set the border_width value.- Parameters:
borderWidth- new border_width value- Throws:
MagickException- upon irrecoverable errors
-
getBorderWidth
Get the border_width value.- Returns:
- the current border_width value
- Throws:
MagickException- upon irrecoverable errors
-
setGravity
Set the gravity value.- Parameters:
gravity- new gravity value- Throws:
MagickException- upon irrecoverable errors- See Also:
-
getGravity
Get the gravity value.- Returns:
- the current gravity value
- Throws:
MagickException- upon irrecoverable errors- See Also:
-
setShadow
Set the shadow flag.- Parameters:
shadow- new shadow flag- Throws:
MagickException- upon irrecoverable errors
-
getShadow
Get the shadow flag.- Returns:
- the current shadow flag
- Throws:
MagickException- upon irrecoverable errors
-
setFill
Set the fill PixelPacket value.- Parameters:
fill- new fill PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getFill
Get the fill PixelPacket value- Returns:
- the current fill PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setStroke
Set the stroke PixelPacket value.- Parameters:
stroke- new stroke PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getStroke
Get the stroke PixelPacket value- Returns:
- the current stroke PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setBackgroundColor
Set the background_color PixelPacket value.- Parameters:
backgroundColor- new background_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getBackgroundColor
Get the background_color PixelPacket value- Returns:
- the current background_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setBorderColor
Set the border_color PixelPacket value.- Parameters:
borderColor- new border_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getBorderColor
Get the border_color PixelPacket value- Returns:
- the current border_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setMatteColor
Set the matte_color PixelPacket value.- Parameters:
matteColor- new matte_color PixelPacket value- Throws:
MagickException- upon irrecoverable errors
-
getMatteColor
Get the matte_color PixelPacket value- Returns:
- the current matte_color PixelPacket value
- Throws:
MagickException- upon irrecoverable errors
-
setFileName
Set the filename value.- Parameters:
filename- new filename value- Throws:
MagickException- upon irrecoverable errors
-
getFileName
Get the filename value- Returns:
- the current filename value
- Throws:
MagickException- upon irrecoverable errors
-