public class GeometryDrawerAwt extends GeometryDrawerGraphics
| Constructor and Description |
|---|
GeometryDrawerAwt(CoordinateTransformer
Create a new implementation of the PolygonDrawer interface.
|
GeometryDrawerAwt(CoordinateTransformer
Create a new implementation of the PolygonDrawer interface.
|
GeometryDrawerAwt(CoordinateTransformer
Create a new implementation of the PolygonDrawer interface.
|
| Modifier and Type | Method and Description |
|---|---|
GeometryDrawerAwt |
duplicate()
Get a duplicate of this drawer.
|
Graphics2D |
getGraphics()
|
BufferedImage |
getImage()
Retrieve the internal underlying BufferedImage to perform custom drawing operations.
|
drawCircle, drawGeometry, drawRectangle, drawRectangleAbsolute, drawRectangleCentered, drawSegment, drawString, setCap, setColorBackground, setColorForeground, setJoin, setLineWidthpublic GeometryDrawerAwt(CoordinateTransformerct, int width, int height)
ct - the transformation applied to coordinates.
width - the width of the image in pixels.
height - the height of the image in pixels.
public GeometryDrawerAwt(CoordinateTransformerct, BufferedImage image, boolean antialiase)
ct - the transformation applied to coordinates.
image - the image to draw upon.
antialiase - use antialiasing during rendering.
public GeometryDrawerAwt(CoordinateTransformerct, int width, int height, boolean antialiase)
ct - the transformation applied to coordinates.
width - the width of the image in pixels.
height - the height of the image in pixels.
antialiase - use antialiasing during rendering.
public Graphics2DgetGraphics()
getGraphics in class
GeometryDrawerGraphics
public BufferedImagegetImage()
public GeometryDrawerAwtduplicate()