20 package net.sf.gridarta.gui.map.renderer;
22 import java.awt.Point;
23 import java.awt.Rectangle;
24 import java.awt.event.MouseListener;
25 import java.awt.event.MouseMotionListener;
26 import java.awt.image.BufferedImage;
28 import java.io.IOException;
29 import org.jetbrains.annotations.NotNull;
void printFullImage(@NotNull File file)
Saves an image of the entire view to a file.
Rectangle getSquareBounds(@NotNull Point p)
Returns coordinates, length and width of map square.
BufferedImage getFullImage()
Returns an image of the entire map view.
void removeMouseMotionListener(@NotNull MouseMotionListener mouseMotionListener)
Removes a MouseMotionListener to be notified about mouse events.
void removeMouseListener(@NotNull MouseListener l)
void addMouseListener(@NotNull MouseListener l)
boolean getSquareLocationAt(@NotNull Point point, @NotNull Point retPoint)
Returns the map location at the given point.
Common interface for renderers of map control instances.
void setLightVisible(boolean lightVisible)
If set, inverts the setting of net.sf.gridarta.model.mapviewsettings.MapViewSettings#isLightVisible()...
void forceRepaint()
Repaint the view because some view parameters may have changed.
void addMouseMotionListener(@NotNull MouseMotionListener mouseMotionListener)
Adds a MouseMotionListener to be notified about mouse events.
void scrollRectToVisible(@NotNull Rectangle aRect)
Ensures that a rectangular area is visible.