entities
VISIBILITY_SUFFIX, world
component
Constructor and Description |
---|
RoadLayer()
Construct a road rendering layer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this layer.
|
protected void |
paintEdge(Edge e,
java.awt.Graphics2D g,
ScreenTransform t)
Paint an individual edge.
|
protected void |
paintShape(Road r,
java.awt.Polygon shape,
java.awt.Graphics2D g)
Paint the overall shape.
|
postView, preView, render, view, viewObject
initialise
getPopupMenuItems, isVisible, processView, setLayerViewComponent, setVisible
public java.lang.String getName()
ViewLayer
protected void paintShape(Road r, java.awt.Polygon shape, java.awt.Graphics2D g)
AreaLayer
paintShape
in class AreaLayer<Road>
r
- The area.shape
- The overall polygon.g
- The graphics to paint on.