public final class PaintPolygons extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
static com.vividsolutions.jts.geom.Coordinate |
NEWPATH
Dummy coordinate that forces the drawing operation to start a new path.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
paintMultiPolygon(Graphics2D graphics,
Color color,
DirectedPoint referencePoint,
com.vividsolutions.jts.geom.Coordinate[] coordinates)
Paint (fill) a polygon or a series of polygons.
|
public static final com.vividsolutions.jts.geom.Coordinate NEWPATH
public static void paintMultiPolygon(Graphics2D graphics, Color color, DirectedPoint referencePoint, com.vividsolutions.jts.geom.Coordinate[] coordinates)
graphics - Graphics2D; the graphics environmentcolor - Color; the color to usereferencePoint - DirectedPoint; the reference pointcoordinates - Coordinate[]; array of CoordinateCopyright © 2014–2015 Delft University of Technology. All rights reserved.