Class DrawingInfoStripe<D extends Drawable>
- java.lang.Object
-
- org.opentrafficsim.core.animation.DrawingInfoLine<D>
-
- org.opentrafficsim.core.animation.DrawingInfoStripe<D>
-
- Type Parameters:
D
- The drawable type for which this is the DrawingInfo
- All Implemented Interfaces:
DrawingInfo
public class DrawingInfoStripe<D extends Drawable> extends DrawingInfoLine<D>
DrawingInfoStripe stores the drawing information about a stripe on a road. This can be interpreted by a visualization or animation class.
Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
- Alexander Verbraeck
-
-
Constructor Summary
Constructors Constructor Description DrawingInfoStripe(java.awt.Color lineColor, float lineWidth, StripeType stripeType)
DrawingInfoStripe(Colorer<D> lineColorer, float lineWidth, StripeType stripeType)
DrawingInfoStripe(StripeType stripeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StripeType
getStripeType()
-
Methods inherited from class org.opentrafficsim.core.animation.DrawingInfoLine
getLineColor, getLineWidth, setLineColor, setLineColorer, setLineWidth
-
-
-
-
Constructor Detail
-
DrawingInfoStripe
public DrawingInfoStripe(StripeType stripeType)
- Parameters:
stripeType
- StripeType; the stripe type
-
DrawingInfoStripe
public DrawingInfoStripe(java.awt.Color lineColor, float lineWidth, StripeType stripeType)
- Parameters:
lineColor
- Color; the line colorlineWidth
- float; the line widthstripeType
- StripeType; the stripe type
-
DrawingInfoStripe
public DrawingInfoStripe(Colorer<D> lineColorer, float lineWidth, StripeType stripeType)
- Parameters:
lineColorer
- Colorer<D>; the line colorerlineWidth
- float; the line widthstripeType
- StripeType; the stripe type
-
-
Method Detail
-
getStripeType
public final StripeType getStripeType()
- Returns:
- stripeType
-
-