sim.portrayal.simple.AbstractShapePortrayal2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mason Show documentation
Show all versions of mason Show documentation
MASON is a fast discrete-event multiagent simulation library core in Java, designed to be the foundation for large custom-purpose Java simulations, and also to provide more than enough functionality for many lightweight simulation needs. MASON contains both a model library and an optional suite of visualization tools in 2D and 3D.
The newest version!
package sim.portrayal.simple;
import java.awt.*;
import sim.portrayal.*;
public class AbstractShapePortrayal2D extends SimplePortrayal2D
{
public Paint paint;
public double scale;
public boolean filled;
//public void setPaint(Paint paint) {this.paint = paint; }
//public Paint getPaint() { return paint; }
//public void setScale(double scale) { this.scale = scale; }
//public double getScale() { return scale; }
//public void setFilled(boolean filled) { this.filled = filled; }
//public boolean getFilled() { return filled; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy