Revision 4910 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ViewPort.java
ViewPort.java | ||
---|---|---|
277 | 277 |
} |
278 | 278 |
|
279 | 279 |
/** |
280 |
* Devuelve el extent. |
|
281 |
* |
|
280 |
* <p> |
|
281 |
* When the zoom changes (for instance when using the zoom in or zoom out tools, |
|
282 |
* but also zooming to a selected feature or shape) the extent that covers that |
|
283 |
* area is the value returned by this method. It is not the actual area shown |
|
284 |
* in the view because it does not care about the aspect ratio. However, any |
|
285 |
* part of the real world contained in this extent is shown in the view.<br> |
|
286 |
* </p> |
|
287 |
* <p> |
|
288 |
* Probably <b>this is not what you are looking for</b>. If you are looking for |
|
289 |
* the complete extent currently shown, you must use getAdjustedExtent() method |
|
290 |
* which returns the extent that contains this one but regarding the current |
|
291 |
* view's aspect ratio. |
|
292 |
* </p> |
|
282 | 293 |
* @return Extent. |
283 | 294 |
*/ |
284 | 295 |
public Rectangle2D getExtent() { |
... | ... | |
504 | 515 |
} |
505 | 516 |
|
506 | 517 |
/** |
507 |
* Devuelve el extent ajustado.
|
|
518 |
* Returns the extent currently covered by the view.
|
|
508 | 519 |
* |
509 | 520 |
* @return Returns the adjustedExtent. |
510 | 521 |
*/ |
Also available in: Unified diff