com.partnersoft.v3x.io.formats.rover
Class RoverPolygon

java.lang.Object
  extended by com.partnersoft.v3x.io.formats.rover.RoverGraphic
      extended by com.partnersoft.v3x.io.formats.rover.RoverPolygon
All Implemented Interfaces:
RoverConstants, java.io.Serializable

public class RoverPolygon
extends RoverGraphic

A structure representing a polygon in a rover file.

See Also:
Serialized Form

Field Summary
 float[] points
           
 
Fields inherited from class com.partnersoft.v3x.io.formats.rover.RoverGraphic
dataID, dataType, styleCode
 
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
RoverPolygon()
           
RoverPolygon(int styleCode, float[] points)
           
RoverPolygon(int styleCode, float[] points, int dataType, int dataID)
           
 
Method Summary
 float[] getPoints()
           
 float getX()
           
 float getY()
           
 void setPoints(float[] newPoints)
           
 
Methods inherited from class com.partnersoft.v3x.io.formats.rover.RoverGraphic
getDataID, getDataType, getStyleCode, setDataID, setDataType, setStyleCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

points

public float[] points
Constructor Detail

RoverPolygon

public RoverPolygon()

RoverPolygon

public RoverPolygon(int styleCode,
                    float[] points)

RoverPolygon

public RoverPolygon(int styleCode,
                    float[] points,
                    int dataType,
                    int dataID)
Method Detail

getPoints

public float[] getPoints()

setPoints

public void setPoints(float[] newPoints)

getX

public float getX()
Specified by:
getX in class RoverGraphic

getY

public float getY()
Specified by:
getY in class RoverGraphic