public class ImageDimension extends Object implements Serializable
Constructor and Description |
---|
ImageDimension() |
ImageDimension(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ImageDimension |
from(int width,
int height) |
static ImageDimension |
from(String dimension) |
int |
getHeight() |
int |
getWidth() |
int |
hashCode() |
void |
setHeight(int height) |
void |
setWidth(int width) |
String |
toCommandArgument() |
String |
toString() |
public ImageDimension()
public ImageDimension(int width, int height)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public String toCommandArgument()
public static ImageDimension from(int width, int height)
public static ImageDimension from(String dimension)
Copyright © 2019. All rights reserved.