public final class PaintLine extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2016-01-15 09:03:55 +0100 (Fri, 15 Jan 2016) $, @version $Revision: 1698 $, by $Author: averbraeck $,
initial version 10 apr. 2015
| Modifier and Type | Field and Description |
|---|---|
static OTSPoint3D |
NEWPATH
Dummy coordinate that forces the drawing operation to start a new path.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
paintLine(Graphics2D graphics,
Color color,
double width,
DirectedPoint referencePoint,
OTSLine3D line)
Paint line.
|
public static final OTSPoint3D NEWPATH
public static void paintLine(Graphics2D graphics, Color color, double width, DirectedPoint referencePoint, OTSLine3D line)
graphics - Graphics2D; the graphics environmentcolor - Color; the color to usewidth - double; the width to usereferencePoint - DirectedPoint; the reference pointline - OTSLine3D; array of pointsCopyright © 2014–2019 Delft University of Technology. All rights reserved.