Revision 5369 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ViewPort.java
ViewPort.java | ||
---|---|---|
488 | 488 |
offset = p; |
489 | 489 |
} |
490 | 490 |
/** |
491 |
* Devuelve la desviaci?n. |
|
491 |
* The offset is the position where to start drawing. The offset of a View is |
|
492 |
* always (0, 0) because the drawing area fits with the full window area. But in |
|
493 |
* a Layout it is up to the place where the FFrameView is located. |
|
492 | 494 |
* |
493 |
* @param p Punto.
|
|
495 |
* @param p Point, in pixels, where the map starts.
|
|
494 | 496 |
*/ |
495 | 497 |
public Point2D getOffset() { |
496 | 498 |
return offset; |
Also available in: Unified diff