Changeset 8722 in josm for trunk/src/org


Ignore:
Timestamp:
2015-09-03T15:04:13+02:00 (5 years ago)
Author:
simon04
Message:

Fix typo in ImageOverlay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageOverlay.java

    r8624 r8722  
    1111 */
    1212public class ImageOverlay {
    13     /** the image ressource to use as overlay */
     13    /** the image resource to use as overlay */
    1414    public ImageProvider image;
    1515    /** offset of the image from left border, values between 0 and 1 */
     
    2626     * is the result of the difference between left/right and top/bottom.
    2727     *
    28      * @param image imager provider for the overlay icon
     28     * @param image image provider for the overlay icon
    2929     * @param offsetLeft offset of the image from left border, values between 0 and 1, -1 for auto-calculation
    3030     * @param offsetTop offset of the image from top border, values between 0 and 1, -1 for auto-calculation
     
    4646     * Right and bottom values are set to 1.
    4747     *
    48      * @param image imager provider for the overlay icon
     48     * @param image image provider for the overlay icon
    4949     * @see #ImageOverlay(ImageProvider, double, double, double, double)
    5050     * @since 8095
     
    7575        }
    7676        if (offsetTop > 0 && offsetBottom > 0) {
    77             width = (int) (h*(offsetBottom-offsetTop));
     77            height = (int) (h*(offsetBottom-offsetTop));
    7878        }
    7979        ImageIcon overlay;
Note: See TracChangeset for help on using the changeset viewer.