org.nlogo.api
Interface TrailDrawerInterface
- All Superinterfaces:
- DrawingInterface
public interface TrailDrawerInterface
- extends DrawingInterface
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()