public class StandardImagePreparer extends java.lang.Object implements TileImagePreparer
Constructor and Description |
---|
StandardImagePreparer() |
Modifier and Type | Method and Description |
---|---|
void |
prepareForEmptyTile(MapTileFactory factory)
Sometimes, based on the color handling of the preparer, empty tiles need to be handled differently.
|
java.awt.image.BufferedImage |
preprocessImage(java.awt.Image origImage,
int imageWidth,
int imageHeight)
Method called to manipulate provided image in some way, returning modified image.
|
public void prepareForEmptyTile(MapTileFactory factory)
TileImagePreparer
prepareForEmptyTile
in interface TileImagePreparer
factory
- used to make calls on the factory to prepare for empty tile fetch.public java.awt.image.BufferedImage preprocessImage(java.awt.Image origImage, int imageWidth, int imageHeight) throws java.lang.InterruptedException
TileImagePreparer
preprocessImage
in interface TileImagePreparer
origImage
- Any java ImageimageWidth
- pixel widthimageHeight
- pixel heightjava.lang.InterruptedException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details