public class RoverGraphicStash extends java.lang.Object implements RoverConstants, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
byte[] |
pointBytes |
byte[] |
polygonBytes |
byte[] |
polylineBytes |
byte[] |
textBytes |
ALIGN_BOTTOM_CENTER, ALIGN_BOTTOM_FIT, ALIGN_BOTTOM_LEFT, ALIGN_BOTTOM_RIGHT, ALIGN_CENTER, ALIGN_CENTER_LEFT, ALIGN_CENTER_RIGHT, ALIGN_CODE_CENTER, ALIGN_CODE_FIT, ALIGN_CODE_HIGH, ALIGN_CODE_LOW, ALIGN_FIT, ALIGN_FIT_LEFT, ALIGN_FIT_RIGHT, ALIGN_TOP_CENTER, ALIGN_TOP_FIT, ALIGN_TOP_LEFT, ALIGN_TOP_RIGHT, COMMENT, DATA_FIELDS_MAX, EOF, FLOAT_COORDS, GEOMETRY_TYPE_NAMES, HAS_DATA, HAS_OFFSET, HAS_ROTATION, IMAGE, LIST, LUMP_CODE_TYPE_AREA, LUMP_CODE_TYPE_IMAGE, LUMP_CODE_TYPE_LINE, LUMP_CODE_TYPE_POINT, LUMP_CODE_TYPE_TEXT, MASK_TYPECODE, NAMING, POINT, POINT_COLOR, POLYGON, POLYLINE, POP, PUSH, ROTATION_MULT, TEXEL_COORD_MAX, TEXT, TEXT_LONG, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE| Constructor and Description |
|---|
RoverGraphicStash() |
| Modifier and Type | Method and Description |
|---|---|
int |
getGraphicCount() |
RoverGraphic |
readGraphic() |
void |
toRoverBytes(int tileX,
int tileY,
float originX,
float originY,
float tileSize) |
void |
writeGraphic(RoverGraphic graphic) |
public byte[] polygonBytes
public byte[] polylineBytes
public byte[] pointBytes
public byte[] textBytes
public void writeGraphic(RoverGraphic graphic)
public int getGraphicCount()
public RoverGraphic readGraphic()
public void toRoverBytes(int tileX,
int tileY,
float originX,
float originY,
float tileSize)
throws java.io.IOException
java.io.IOException