Class ImageDimension
java.lang.Object
org.onehippo.forge.gallerymagick.core.ImageDimension
- All Implemented Interfaces:
Serializable
Image Dimension.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ImageDimension
public ImageDimension() -
ImageDimension
public ImageDimension(int width, int height)
-
-
Method Details
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
equals
-
hashCode
public int hashCode() -
toString
-
toCommandArgument
- Returns:
- String representation for ImageMagick/GraphicsMagick command line usage. A width or height of 0 means "unbounded", and results in a bounding box that does not restrict scaling in either the width or height, respectively. When both width and height are 0 or less, the image is not scaled at all but merely copied.
-
from
-
from
-