@AlfrescoPublicApi public class ImageResizeOptions extends Object
Constructor and Description |
---|
ImageResizeOptions()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAllowEnlargement() |
int |
getHeight() |
int |
getWidth() |
boolean |
isMaintainAspectRatio() |
boolean |
isPercentResize() |
boolean |
isResizeToThumbnail() |
void |
setAllowEnlargement(boolean allowEnlargement) |
void |
setHeight(int height) |
void |
setMaintainAspectRatio(boolean maintainAspectRatio) |
void |
setPercentResize(boolean percentResize) |
void |
setResizeToThumbnail(boolean resizeToThumbnail) |
void |
setWidth(int width) |
String |
toString() |
public void setWidth(int width)
public int getWidth()
public void setHeight(int height)
public int getHeight()
public void setMaintainAspectRatio(boolean maintainAspectRatio)
public boolean isMaintainAspectRatio()
public void setPercentResize(boolean percentResize)
public boolean isPercentResize()
public void setResizeToThumbnail(boolean resizeToThumbnail)
public boolean isResizeToThumbnail()
public void setAllowEnlargement(boolean allowEnlargement)
public boolean getAllowEnlargement()
Copyright © 2005–2017 Alfresco Software. All rights reserved.