Class ImageResizeOptions
- java.lang.Object
-
- org.alfresco.repo.content.transform.magick.ImageResizeOptions
-
@AlfrescoPublicApi public class ImageResizeOptions extends java.lang.ObjectImage resize options- Author:
- Roy Wetherall
-
-
Constructor Summary
Constructors Constructor Description ImageResizeOptions()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAllowEnlargement()intgetHeight()intgetWidth()booleanisMaintainAspectRatio()booleanisPercentResize()booleanisResizeToThumbnail()voidsetAllowEnlargement(boolean allowEnlargement)voidsetHeight(int height)voidsetMaintainAspectRatio(boolean maintainAspectRatio)voidsetPercentResize(boolean percentResize)voidsetResizeToThumbnail(boolean resizeToThumbnail)voidsetWidth(int width)java.lang.StringtoString()
-
-
-
Method Detail
-
setWidth
public void setWidth(int width)
-
getWidth
public int getWidth()
-
setHeight
public void setHeight(int height)
-
getHeight
public int getHeight()
-
setMaintainAspectRatio
public void setMaintainAspectRatio(boolean maintainAspectRatio)
-
isMaintainAspectRatio
public boolean isMaintainAspectRatio()
-
setPercentResize
public void setPercentResize(boolean percentResize)
-
isPercentResize
public boolean isPercentResize()
-
setResizeToThumbnail
public void setResizeToThumbnail(boolean resizeToThumbnail)
-
isResizeToThumbnail
public boolean isResizeToThumbnail()
-
setAllowEnlargement
public void setAllowEnlargement(boolean allowEnlargement)
-
getAllowEnlargement
public boolean getAllowEnlargement()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-