public static class TrailedPortrayal2D.TrailDrawInfo2D extends EdgeDrawInfo2D
The TrailDrawInfo2D adds two additional items beyond the standard DrawInfo2D stuff:
Modifier and Type | Field and Description |
---|---|
double |
value
A value from 1.0 to 0.0 indicating how far "back in time" this segment is supposed to be.
|
secondPoint
clip, draw, fieldPortrayal, gui, location, parent, precise, selected
Constructor and Description |
---|
TrailDrawInfo2D(DrawInfo2D other,
double translateX,
double translateY,
java.awt.geom.Point2D.Double secondPoint) |
TrailDrawInfo2D(DrawInfo2D other,
java.awt.geom.Point2D.Double secondPoint) |
TrailDrawInfo2D(EdgeDrawInfo2D other) |
TrailDrawInfo2D(GUIState gui,
FieldPortrayal2D fieldPortrayal,
java.awt.geom.RectangularShape draw,
java.awt.geom.RectangularShape clip,
java.awt.geom.Point2D.Double secondPoint,
DrawInfo2D parent) |
toString
public double value
public TrailDrawInfo2D(GUIState gui, FieldPortrayal2D fieldPortrayal, java.awt.geom.RectangularShape draw, java.awt.geom.RectangularShape clip, java.awt.geom.Point2D.Double secondPoint, DrawInfo2D parent)
public TrailDrawInfo2D(DrawInfo2D other, double translateX, double translateY, java.awt.geom.Point2D.Double secondPoint)
public TrailDrawInfo2D(DrawInfo2D other, java.awt.geom.Point2D.Double secondPoint)
public TrailDrawInfo2D(EdgeDrawInfo2D other)