|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.formats.rover.RoverGraphic
com.partnersoft.io.formats.rover.RoverPoint
public class RoverPoint
| Field Summary | |
|---|---|
int |
offsetX
|
int |
offsetY
|
float |
rotation
|
| Fields inherited from class com.partnersoft.io.formats.rover.RoverGraphic |
|---|
graphicType, ID, x, y |
| Fields inherited from interface com.partnersoft.io.formats.rover.RoverConstants |
|---|
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, LIST, MASK_TYPECODE, NAMING, POINT, POLYGON, POLYLINE, POP, PUSH, RENDER_FINDITEM, RENDER_INDICATION, RENDER_NORMAL, RENDER_SELECTION, ROTATION_MULT, TEXEL_COORD_MAX, TEXEL_COORD_SIZE, TEXT, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE |
| Constructor Summary | |
|---|---|
RoverPoint()
|
|
RoverPoint(int graphicType,
long ID,
int offsetX,
int offsetY,
float rotation,
double x,
double y)
|
|
| Method Summary | |
|---|---|
boolean |
hasOffset()
|
boolean |
hasRotation()
|
boolean |
isChaff()
If true then this graphic can be chucked - it is invalid or trivial for some reason. |
int |
lumpCode()
This is an integer hash code that indicates both lumpability and sort order. |
| Methods inherited from class com.partnersoft.io.formats.rover.RoverGraphic |
|---|
calculateLumpCode, compareTo, hasData, intersects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int offsetX
public int offsetY
public float rotation
| Constructor Detail |
|---|
public RoverPoint()
public RoverPoint(int graphicType,
long ID,
int offsetX,
int offsetY,
float rotation,
double x,
double y)
| Method Detail |
|---|
public boolean isChaff()
RoverGraphic
isChaff in class RoverGraphicpublic int lumpCode()
RoverGraphic
lumpCode in class RoverGraphicpublic boolean hasOffset()
hasOffset in class RoverGraphicpublic boolean hasRotation()
hasRotation in class RoverGraphic
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||