public class RoverImage extends AbstractRoverPointShape<RoverImage>
Copyright 2008-2009 Partner Software, Inc.
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
getCentroid, getEndPoint, getOffsetX, getOffsetY, getPoint, getRotation, getStartPoint, isOffset, isRotatedgetDataId, getDrawId, getId, hasZ, isSelectable, toStringpublic 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)
public static RoverImage fromBytes(RoverBlockCode code, RoverBytes bytes)
public RoverImage withDataId(int dataId)
RoverShapepublic RoverImage withImageId(int imageId)
public RoverImage withDrawId(int drawId)
RoverShapepublic RoverImage withId(int id)
RoverShapepublic RoverImage withIds(int id, int dataId, int drawId)
RoverShapepublic int getImageId()
public double getScale()
public XyRectangle getRectangle()
public XyBounds getBounds()
RoverShapegetBounds in interface RoverShape<RoverImage>getBounds in class AbstractRoverPointShape<RoverImage>public int getPixelsWide()
public int getPixelsHigh()