com.partnersoft.v3x.io.formats.rover
Class RoverLine
java.lang.Object
com.partnersoft.v3x.io.formats.rover.RoverGraphic
com.partnersoft.v3x.io.formats.rover.RoverLine
- All Implemented Interfaces:
- RoverConstants, java.io.Serializable
public class RoverLine
- extends RoverGraphic
A structure representing a line in a rover file.
- See Also:
- Serialized Form
|
Field Summary |
float |
x1
|
float |
x2
|
float |
y1
|
float |
y2
|
| 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 |
RoverLine()
|
RoverLine(int styleCode,
float x1,
float y1,
float x2,
float y2)
|
RoverLine(int styleCode,
float x1,
float y1,
float x2,
float y2,
int dataType,
int dataID)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x1
public float x1
y1
public float y1
x2
public float x2
y2
public float y2
RoverLine
public RoverLine()
RoverLine
public RoverLine(int styleCode,
float x1,
float y1,
float x2,
float y2)
RoverLine
public RoverLine(int styleCode,
float x1,
float y1,
float x2,
float y2,
int dataType,
int dataID)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getX1
public float getX1()
setX1
public void setX1(float newX)
getY1
public float getY1()
setY1
public void setY1(float newY)
getX2
public float getX2()
setX2
public void setX2(float newX)
getY2
public float getY2()
setY2
public void setY2(float newY)
getX
public float getX()
- Specified by:
getX in class RoverGraphic
getY
public float getY()
- Specified by:
getY in class RoverGraphic