|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.graphics.Coord
com.partnersoft.v3x.graphics.Coord2D
com.partnersoft.v3x.graphics.Coord3D
com.partnersoft.v3x.apps.MapBrowser.SheetCoord
com.partnersoft.v3x.apps.MapBrowser.SheetPixelCoord
public class SheetPixelCoord
A SheetPixelCoord is a pixel offset from top-left corner on a sheet specified by a SheetCoordinate.
It adds the following dimensions:
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
coords |
| Constructor Summary | |
|---|---|
SheetPixelCoord()
|
|
SheetPixelCoord(int x,
int y,
int z,
int scale,
int px,
int py)
Create a new SheetPixelCoord for (map, x, y, z, s, c, px, py). |
|
SheetPixelCoord(SheetCoord sheet,
int px,
int py)
Create a new SheetPixelCoord for an offset px, py on a SheetCoord. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the SheetPixelCoord. |
protected void |
copyState(SheetPixelCoord from)
Copies contents from another SheetPixelCoord. |
int |
getPx()
The number of pixels from left side. |
int |
getPy()
The number of pixels from top. |
void |
setPx(int newPx)
The number of pixels from left side. |
void |
setPy(int newPy)
The number of pixels from top. |
| Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.SheetCoord |
|---|
copyState, equals, getContent, getS, hashCode, setContent, setS, toString |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord3D |
|---|
getZ, setZ, toXyPoint, toXyzPoint |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord2D |
|---|
getX, getY, setX, setY |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
at, copyState, distance, getCoords, getDimensions, round, setCoords, stretch, translate, truncate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SheetPixelCoord()
public SheetPixelCoord(int x,
int y,
int z,
int scale,
int px,
int py)
public SheetPixelCoord(SheetCoord sheet,
int px,
int py)
| Method Detail |
|---|
public java.lang.Object clone()
clone in class SheetCoordprotected void copyState(SheetPixelCoord from)
public int getPx()
public void setPx(int newPx)
public int getPy()
public void setPy(int newPy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||