org.nlogo.api
Interface TrailDrawerInterface

All Superinterfaces:
DrawingInterface

public interface TrailDrawerInterface
extends DrawingInterface


Method Summary
 void clearDrawing()
           
 void drawLine(double x0, double y0, double x1, double y1, Object color, double size, String mode)
           
 void exportDrawingToCSV(PrintWriter writer)
           
 BufferedImage getAndCreateDrawing(boolean dirty)
           
 Object getDrawing()
           
 void importDrawing(File file)
           
 void readImage(InputStream is)
           
 void rescaleDrawing()
           
 boolean sendPixels()
           
 void sendPixels(boolean dirty)
           
 void setColors(int[] colors)
           
 void stamp(Agent agent, boolean erase)
           
 
Methods inherited from interface org.nlogo.api.DrawingInterface
colors, getHeight, getWidth, isBlank, isDirty, markClean, markDirty
 

Method Detail

drawLine

void drawLine(double x0,
              double y0,
              double x1,
              double y1,
              Object color,
              double size,
              String mode)

setColors

void setColors(int[] colors)

getDrawing

Object getDrawing()

sendPixels

boolean sendPixels()

sendPixels

void sendPixels(boolean dirty)

stamp

void stamp(Agent agent,
           boolean erase)

readImage

void readImage(InputStream is)
               throws IOException
Throws:
IOException

importDrawing

void importDrawing(File file)
                   throws IOException
Throws:
IOException

getAndCreateDrawing

BufferedImage getAndCreateDrawing(boolean dirty)

clearDrawing

void clearDrawing()

exportDrawingToCSV

void exportDrawingToCSV(PrintWriter writer)

rescaleDrawing

void rescaleDrawing()