Class FeatureTileGraphics
- java.lang.Object
-
- mil.nga.geopackage.tiles.features.FeatureTileGraphics
-
public class FeatureTileGraphics extends Object
Feature Tile Graphics for creating layered tiles to draw ordered features. Draw Order: polygons, lines, points, icons- Since:
- 3.2.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description FeatureTileGraphics(int tileWidth, int tileHeight)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
createImage()
Create the final image from the layers, resets the layersvoid
dispose()
Dispose of the layered graphics and imagesGraphics2D
getIconGraphics()
Get the icon canvasBufferedImage
getIconImage()
Get the icon imageGraphics2D
getLineGraphics()
Get the line graphicsBufferedImage
getLineImage()
Get the line imageGraphics2D
getPointGraphics()
Get the point graphicsBufferedImage
getPointImage()
Get the point imageGraphics2D
getPolygonGraphics()
Get the polygon graphicsBufferedImage
getPolygonImage()
Get the polygon image
-
-
-
Method Detail
-
getPolygonImage
public BufferedImage getPolygonImage()
Get the polygon image- Returns:
- polygon image
-
getPolygonGraphics
public Graphics2D getPolygonGraphics()
Get the polygon graphics- Returns:
- polygon graphics
-
getLineImage
public BufferedImage getLineImage()
Get the line image- Returns:
- line image
-
getLineGraphics
public Graphics2D getLineGraphics()
Get the line graphics- Returns:
- line graphics
-
getPointImage
public BufferedImage getPointImage()
Get the point image- Returns:
- point image
-
getPointGraphics
public Graphics2D getPointGraphics()
Get the point graphics- Returns:
- point graphics
-
getIconImage
public BufferedImage getIconImage()
Get the icon image- Returns:
- icon image
-
getIconGraphics
public Graphics2D getIconGraphics()
Get the icon canvas- Returns:
- icon canvas
-
createImage
public BufferedImage createImage()
Create the final image from the layers, resets the layers- Returns:
- image
-
dispose
public void dispose()
Dispose of the layered graphics and images
-
-