Changeset 9076 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2015-12-01T00:17:33+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r9073 r9076 215 215 216 216 /** 217 * @return Returns the center point. A copy is returned, so users cannot 218 * change the center by accessing the return value. Use zoomTo instead. 217 * Returns the current center of the viewport. 218 * 219 * (Use {@link #zoomTo(EastNorth)} to the change the center.) 220 * 221 * @return the current center of the viewport 219 222 */ 220 223 public EastNorth getCenter() { … … 222 225 } 223 226 227 /** 228 * Returns the current scale. 229 * 230 * In east/north units per pixel. 231 * 232 * @return the current scale 233 */ 224 234 public double getScale() { 225 235 return scale;
Note:
See TracChangeset
for help on using the changeset viewer.
