Class DrawingInfoStripe<D extends org.opentrafficsim.core.animation.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 org.opentrafficsim.core.animation.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) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
ConstructorsConstructorDescriptionDrawingInfoStripe
(Color lineColor, float lineWidth, StripeType stripeType) DrawingInfoStripe
(Colorer<D> lineColorer, float lineWidth, StripeType stripeType) DrawingInfoStripe
(StripeType stripeType) -
Method Summary
Methods inherited from class org.opentrafficsim.core.animation.DrawingInfoLine
getLineColor, getLineWidth, setLineColor, setLineColorer, setLineWidth
-
Constructor Details
-
DrawingInfoStripe
- Parameters:
stripeType
- StripeType; the stripe type
-
DrawingInfoStripe
- Parameters:
lineColor
- Color; the line colorlineWidth
- float; the line widthstripeType
- StripeType; the stripe type
-
DrawingInfoStripe
- Parameters:
lineColorer
- Colorer<D>; the line colorerlineWidth
- float; the line widthstripeType
- StripeType; the stripe type
-
-
Method Details
-
getStripeType
- Returns:
- stripeType
-