public class LaneAnimation.Text
extends org.opentrafficsim.core.animation.TextAnimation
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
Text(nl.tudelft.simulation.dsol.animation.Locatable source,
    String text,
    float dx,
    float dy,
    org.opentrafficsim.core.animation.TextAlignment textPlacement,
    Color color,
    org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.opentrafficsim.core.animation.TextAnimation | 
clone(nl.tudelft.simulation.dsol.animation.Locatable newSource,
     org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator) | 
nl.tudelft.simulation.language.d3.DirectedPoint | 
getLocation() | 
String | 
toString() | 
public Text(nl.tudelft.simulation.dsol.animation.Locatable source,
            String text,
            float dx,
            float dy,
            org.opentrafficsim.core.animation.TextAlignment textPlacement,
            Color color,
            org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
     throws RemoteException,
            NamingException
source - Locatable; the object for which the text is displayedtext - String; the text to displaydx - float; the horizontal movement of the text, in metersdy - float; the vertical movement of the text, in meterstextPlacement - TextAlignment; where to place the textcolor - Color; the color of the textsimulator - OTSSimulatorInterface; the simulatorNamingException - when animation context cannot be created or retrievedRemoteException - - when remote context cannot be foundpublic nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
                                                            throws RemoteException
getLocation in interface nl.tudelft.simulation.dsol.animation.LocatablegetLocation in class org.opentrafficsim.core.animation.TextAnimationRemoteExceptionpublic org.opentrafficsim.core.animation.TextAnimation clone(nl.tudelft.simulation.dsol.animation.Locatable newSource,
                                                             org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
                                                      throws RemoteException,
                                                             NamingException
clone in class org.opentrafficsim.core.animation.TextAnimationRemoteExceptionNamingExceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.