public class StripeAnimation extends Renderable2D<Stripe> implements ClonableRenderable2DInterface<Stripe>, Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
initial version Oct 17, 2014
| Modifier and Type | Class and Description |
|---|---|
static class |
StripeAnimation.TYPE
Stripe type.
|
Renderable2DInterface.Utilsource| Constructor and Description |
|---|
StripeAnimation(Stripe source,
SimulatorInterface.TimeDoubleUnit simulator,
StripeAnimation.TYPE type) |
| Modifier and Type | Method and Description |
|---|---|
ClonableRenderable2DInterface<Stripe> |
clone(Stripe newSource,
SimulatorInterface.TimeDoubleUnit newSimulator) |
void |
paint(Graphics2D graphics,
ImageObserver observer) |
String |
toString() |
bind2Context, contains, destroy, equals, getSource, hashCode, isFlip, isRotate, isScale, isTranslate, paint, setFlip, setRotate, setScale, setTranslateclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, destroy, getSource, paintpublic StripeAnimation(Stripe source, SimulatorInterface.TimeDoubleUnit simulator, StripeAnimation.TYPE type) throws NamingException, RemoteException, OTSGeometryException
source - ssimulator - stype - tNamingException - neRemoteException - on communication failureOTSGeometryException - when something is very wrong with the geometry of the linepublic final void paint(Graphics2D graphics, ImageObserver observer)
paint in class Renderable2D<Stripe>public ClonableRenderable2DInterface<Stripe> clone(Stripe newSource, SimulatorInterface.TimeDoubleUnit newSimulator) throws NamingException, RemoteException
clone in interface ClonableRenderable2DInterface<Stripe>NamingExceptionRemoteExceptionpublic final String toString()
toString in class Renderable2D<Stripe>Copyright © 2014–2018 Delft University of Technology. All rights reserved.