|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.rover.AbstractRoverShape<T>
com.partnersoft.maps.rover.AbstractRoverPointShape<RoverImage>
com.partnersoft.maps.rover.RoverImage
public class RoverImage
A raster image drawn centered at a specific point at a fixed map scale.
Copyright 2008-2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
RoverImage(int id,
int dataId,
int drawId,
boolean selectable,
XyPoint point,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
|
|
RoverImage(int id,
int dataId,
int drawId,
boolean selectable,
XyPoint point,
XyRotation rotation,
int offsetX,
int offsetY,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
|
|
RoverImage(int id,
int dataId,
int drawId,
XyPoint point,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
|
|
RoverImage(int id,
int dataId,
int drawId,
XyPoint point,
XyRotation rotation,
int offsetX,
int offsetY,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
|
|
| Method Summary | |
|---|---|
static RoverImage |
fromBytes(RoverBlockCode code,
RoverBytes bytes)
|
XyBounds |
getBounds()
The bounds of the shape. |
int |
getImageId()
|
int |
getPixelsHigh()
|
int |
getPixelsWide()
|
XyRectangle |
getRectangle()
|
double |
getScale()
|
RoverImage |
withDataId(int dataId)
Returns a copy of this shape with the given data ID. |
RoverImage |
withDrawId(int drawId)
Returns a copy of this shape with the given drawable ID. |
RoverImage |
withId(int id)
Returns a copy of this shape with the given ID. |
RoverImage |
withIds(int id,
int dataId,
int drawId)
Returns a copy of this shape with the given IDs set. |
RoverImage |
withImageId(int imageId)
|
| Methods inherited from class com.partnersoft.maps.rover.AbstractRoverPointShape |
|---|
getCentroid, getEndPoint, getOffsetX, getOffsetY, getPoint, getRotation, getStartPoint, isOffset, isRotated |
| Methods inherited from class com.partnersoft.maps.rover.AbstractRoverShape |
|---|
getDataId, getDrawId, getId, hasZ, isSelectable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoverImage(int id,
int dataId,
int drawId,
XyPoint point,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
public RoverImage(int id,
int dataId,
int drawId,
XyPoint point,
XyRotation rotation,
int offsetX,
int offsetY,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
public RoverImage(int id,
int dataId,
int drawId,
boolean selectable,
XyPoint point,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
public RoverImage(int id,
int dataId,
int drawId,
boolean selectable,
XyPoint point,
XyRotation rotation,
int offsetX,
int offsetY,
int imageId,
double scale,
int pixelsWide,
int pixelsHigh)
| Method Detail |
|---|
public static RoverImage fromBytes(RoverBlockCode code,
RoverBytes bytes)
public RoverImage withDataId(int dataId)
RoverShape
public RoverImage withImageId(int imageId)
public RoverImage withDrawId(int drawId)
RoverShape
public RoverImage withId(int id)
RoverShape
public RoverImage withIds(int id,
int dataId,
int drawId)
RoverShape
public int getImageId()
public double getScale()
public XyRectangle getRectangle()
public XyBounds getBounds()
RoverShape
getBounds in interface RoverShape<RoverImage>getBounds in class AbstractRoverPointShape<RoverImage>public int getPixelsWide()
public int getPixelsHigh()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||