public class ImagePositionInfo extends Object
| Constructor and Description |
|---|
ImagePositionInfo(int x,
int y,
int width,
int height,
String url)
Constructor of
ImagePositionInfo |
ImagePositionInfo(Rectangle rect,
String url,
Element image) |
| Modifier and Type | Method and Description |
|---|---|
Element |
getElement() |
int |
getHeight() |
String |
getUrl() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setHeight(int height)
Set height
|
void |
setUrl(String url)
Set URL of image
|
void |
setWidth(int width)
Set width
|
void |
setX(int x)
Set X position
|
void |
setY(int y)
Set Y position
|
public ImagePositionInfo(int x,
int y,
int width,
int height,
String url)
ImagePositionInfox - X positiony - Y positionwidth - widthheight - heighturl - image URLpublic int getHeight()
public void setHeight(int height)
height - public String getUrl()
public void setUrl(String url)
url - public int getWidth()
public void setWidth(int width)
width - public int getX()
public void setX(int x)
x - public int getY()
public void setY(int y)
y - public Element getElement()