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 BufferedImagecreateImage()Create the final image from the layers, resets the layersvoiddispose()Dispose of the layered graphics and imagesGraphics2DgetIconGraphics()Get the icon canvasBufferedImagegetIconImage()Get the icon imageGraphics2DgetLineGraphics()Get the line graphicsBufferedImagegetLineImage()Get the line imageGraphics2DgetPointGraphics()Get the point graphicsBufferedImagegetPointImage()Get the point imageGraphics2DgetPolygonGraphics()Get the polygon graphicsBufferedImagegetPolygonImage()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
-
-