org.alfresco.repo.content.transform.magick
Class ImageResizeOptions

java.lang.Object
  extended by org.alfresco.repo.content.transform.magick.ImageResizeOptions

public class ImageResizeOptions
extends java.lang.Object

Image resize options


Constructor Summary
ImageResizeOptions()
          Defatult constructor
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 boolean isMaintainAspectRatio()
           
 boolean isPercentResize()
           
 boolean isResizeToThumbnail()
           
 void setHeight(int height)
           
 void setMaintainAspectRatio(boolean maintainAspectRatio)
           
 void setPercentResize(boolean percentResize)
           
 void setResizeToThumbnail(boolean resizeToThumbnail)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResizeOptions

public ImageResizeOptions()
Defatult constructor

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()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.