Package org.javlo.image
Class ImageSize
- java.lang.Object
-
- org.javlo.image.ImageSize
-
- All Implemented Interfaces:
IStringSeralizable
public class ImageSize extends Object implements IStringSeralizable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDpi()
int
getHeight()
int
getWidth()
boolean
loadFromString(String data)
load from Stringvoid
setDpi(int dpi)
void
setHeight(int height)
void
setWidth(int width)
String
storeToString()
String
toString()
-
-
-
Method Detail
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getDpi
public int getDpi()
-
setDpi
public void setDpi(int dpi)
-
loadFromString
public boolean loadFromString(String data)
Description copied from interface:IStringSeralizable
load from String- Specified by:
loadFromString
in interfaceIStringSeralizable
- Returns:
- false if unvalid data
-
storeToString
public String storeToString()
- Specified by:
storeToString
in interfaceIStringSeralizable
-
-