org.nlogo.api
Interface RendererInterface
public interface RendererInterface
|
Method Summary |
void |
changeTopology(boolean wrapX,
boolean wrapY)
|
void |
exportView(Graphics2D g,
ViewSettings settings)
|
BufferedImage |
exportView(ViewSettings settings)
|
double |
graphicsX(double xcor,
double patchSize,
double viewOffsetX)
|
double |
graphicsY(double ycor,
double patchSize,
double viewOffsetY)
|
void |
outlineAgent(Agent agent)
|
void |
paint(Graphics2D g,
ViewSettings settings)
|
void |
paint(GraphicsInterface g,
ViewSettings settings)
|
void |
prepareToPaint(ViewSettings settings,
int width,
int height)
|
void |
resetCache(double patchSize)
|
TrailDrawerInterface |
trailDrawer()
|
SHAPE_WIDTH
static final int SHAPE_WIDTH
- See Also:
- Constant Field Values
VIEW_BACKGROUND
static final Color VIEW_BACKGROUND
trailDrawer
TrailDrawerInterface trailDrawer()
changeTopology
void changeTopology(boolean wrapX,
boolean wrapY)
paint
void paint(GraphicsInterface g,
ViewSettings settings)
paint
void paint(Graphics2D g,
ViewSettings settings)
resetCache
void resetCache(double patchSize)
graphicsX
double graphicsX(double xcor,
double patchSize,
double viewOffsetX)
graphicsY
double graphicsY(double ycor,
double patchSize,
double viewOffsetY)
outlineAgent
void outlineAgent(Agent agent)
exportView
void exportView(Graphics2D g,
ViewSettings settings)
exportView
BufferedImage exportView(ViewSettings settings)
prepareToPaint
void prepareToPaint(ViewSettings settings,
int width,
int height)