public abstract class DefaultMapLayer extends Object implements MapLayer
| Modifier and Type | Field and Description |
|---|---|
protected BufferedImage |
image |
| Constructor and Description |
|---|
DefaultMapLayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearGraphics(Graphics2D g2) |
Rectangle |
getBounds() |
void |
makeTransparent(Graphics2D g2) |
void |
paint(Graphics2D mainGraphics) |
protected abstract void |
paintComponent(Graphics2D createGraphics) |
void |
repaint() |
void |
setBounds(Rectangle bounds) |
void |
setBuffering(boolean enable) |
protected BufferedImage image
protected abstract void paintComponent(Graphics2D createGraphics)
public void paint(Graphics2D mainGraphics)
public void setBuffering(boolean enable)
setBuffering in interface MapLayerpublic void makeTransparent(Graphics2D g2)
public void clearGraphics(Graphics2D g2)
Copyright © 2012–2022. All rights reserved.