public class RoverLine extends AbstractRoverShape<RoverLine>
Copyright 2008-2009 Partner Software, Inc.
| Constructor and Description |
|---|
RoverLine(int id,
int dataId,
int drawId,
boolean selectable,
XyPolyline shape) |
RoverLine(int graphicTypeId,
XyPolyline shape) |
| Modifier and Type | Method and Description |
|---|---|
XyBounds |
getBounds()
The bounds of the shape.
|
XyPoint |
getCentroid()
The center of the bounds of the shape.
|
XyPoint |
getEndPoint()
The last point in the shape.
|
XyPolyline |
getShape() |
XyPoint |
getStartPoint()
The first point in the shape.
|
java.lang.String |
toString() |
RoverLine |
withDataId(int dataId)
Returns a copy of this shape with the given data ID.
|
RoverLine |
withDrawId(int drawId)
Returns a copy of this shape with the given drawable ID.
|
RoverLine |
withId(int id)
Returns a copy of this shape with the given ID.
|
RoverLine |
withIds(int id,
int dataId,
int drawId)
Returns a copy of this shape with the given IDs set.
|
getDataId, getDrawId, getId, hasZ, isOffset, isRotated, isSelectablepublic RoverLine(int id,
int dataId,
int drawId,
boolean selectable,
XyPolyline shape)
public RoverLine(int graphicTypeId,
XyPolyline shape)
public XyBounds getBounds()
RoverShapepublic XyPoint getCentroid()
RoverShapepublic XyPoint getEndPoint()
RoverShapepublic XyPoint getStartPoint()
RoverShapepublic RoverLine withDataId(int dataId)
RoverShapepublic RoverLine withDrawId(int drawId)
RoverShapepublic RoverLine withId(int id)
RoverShapepublic RoverLine withIds(int id, int dataId, int drawId)
RoverShapepublic java.lang.String toString()
toString in class AbstractRoverShape<RoverLine>public XyPolyline getShape()