org.alfresco.repo.content.transform.magick
Class ImageResizeOptions
java.lang.Object
org.alfresco.repo.content.transform.magick.ImageResizeOptions
public class ImageResizeOptions
- extends java.lang.Object
Image resize options
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageResizeOptions
public ImageResizeOptions()
- Default constructor
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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.