com.partnersoft.v3x.io.formats.rover
Class RoverPoint
java.lang.Object
com.partnersoft.v3x.io.formats.rover.RoverGraphic
com.partnersoft.v3x.io.formats.rover.RoverPoint
- All Implemented Interfaces:
- RoverConstants, java.io.Serializable
- Direct Known Subclasses:
- RoverText
public class RoverPoint
- extends RoverGraphic
A structure representing a point in a rover file.
- See Also:
- Serialized Form
| Fields inherited from interface com.partnersoft.v3x.io.formats.rover.RoverConstants |
DRAW_JUSTIFIED_TEXT, DRAW_OFFSET_POINT, DRAW_OFFSET_TEXT, DRAW_POINT, DRAW_POLYGON, DRAW_POLYLINE, DRAW_TEXT, EOF, JUSTIFY_BASELINE_CENTER, JUSTIFY_BASELINE_LEFT, JUSTIFY_BASELINE_RIGHT, JUSTIFY_NOTSPECIFIED, OPCODE_TYPE_BOUNDARY, SIZE_DRAW_JUSTIFIED_TEXT_PREAMBLE, SIZE_DRAW_OFFSET_POINT, SIZE_DRAW_OFFSET_TEXT_CONCLUSION, SIZE_DRAW_OFFSET_TEXT_PREAMBLE, SIZE_DRAW_POINT, SIZE_DRAW_POLYLINE_PREAMBLE, SIZE_DRAW_TEXT_PREAMBLE, STYLE_REGION |
|
Constructor Summary |
RoverPoint()
|
RoverPoint(int styleCode,
Coord2D coord,
int dataType,
int dataID)
|
RoverPoint(int styleCode,
DoublePoint point,
int dataType,
int dataID)
|
RoverPoint(int styleCode,
float x,
float y)
|
RoverPoint(int styleCode,
float x,
float y,
int dataType,
int dataID)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public float x
y
public float y
rotation
public float rotation
offsetX
public int offsetX
offsetY
public int offsetY
RoverPoint
public RoverPoint()
RoverPoint
public RoverPoint(int styleCode,
float x,
float y)
RoverPoint
public RoverPoint(int styleCode,
float x,
float y,
int dataType,
int dataID)
RoverPoint
public RoverPoint(int styleCode,
DoublePoint point,
int dataType,
int dataID)
RoverPoint
public RoverPoint(int styleCode,
Coord2D coord,
int dataType,
int dataID)
getX
public float getX()
- Specified by:
getX in class RoverGraphic
setX
public void setX(float newX)
getY
public float getY()
- Specified by:
getY in class RoverGraphic
setY
public void setY(float newY)
getRotation
public float getRotation()
setRotation
public void setRotation(float newRotation)
getOffsetX
public int getOffsetX()
setOffsetX
public void setOffsetX(int newX)
getOffsetY
public int getOffsetY()
setOffsetY
public void setOffsetY(int newY)