public class MosaicTile
extends java.lang.Object
| Constructor and Description |
|---|
MosaicTile() |
MosaicTile(int mid,
int pid,
int x,
int y,
int width,
int height)
Convienence constructor to build a MosaicTile in one go
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getMid() |
int |
getPid() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setHeight(int height) |
void |
setMid(int mid) |
void |
setPid(int pid) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
public MosaicTile()
public MosaicTile(int mid,
int pid,
int x,
int y,
int width,
int height)
mid - The mosaicId that this tile belongs topid - The picId of this Tilex - The X of where this Tile lies in the Mosaic (in pixels)y - The Y of where this Tile lies in the Mosaic (in pixels)width - The scaled width of this Tileheight - The scaled height of this Tilepublic int getMid()
public void setMid(int mid)
mid - the mid to setpublic int getPid()
public void setPid(int pid)
pid - the pid to setpublic int getX()
public void setX(int x)
x - the x to setpublic int getY()
public void setY(int y)
y - the y to setpublic int getWidth()
public void setWidth(int width)
width - the width to setpublic int getHeight()
public void setHeight(int height)
height - the height to set