source: josm/trunk/src/org/openstreetmap/josm/gui/layer/ImageProcessor.java@ 11950

Last change on this file since 11950 was 10600, checked in by Don-vip, 8 years ago

see #11390 - sonar - squid:S1609 - Java 8: @FunctionalInterface annotation should be used to flag Single Abstract Method interfaces

  • Property svn:eol-style set to native
File size: 740 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.layer;
3
4import java.awt.image.BufferedImage;
5
6/**
7 * Processor that modifies images (sharpen, brightness, etc.).
8 * This interface is used by {@link ImageryLayer}s to filter the
9 * displayed images (implemented in plugins).
10 *
11 * @author Nipel-Crumple
12 * @since 8625 (creation)
13 * @since 10600 (functional interface)
14 */
15@FunctionalInterface
16public interface ImageProcessor {
17
18 /**
19 * This method should process given image according to image processors
20 * which is contained in the {@link Layer}
21 *
22 * @param image that should be processed
23 *
24 * @return processed image
25 */
26 BufferedImage process(BufferedImage image);
27}
Note: See TracBrowser for help on using the repository browser.