Package org.nlogo.api

Examples of org.nlogo.api.PlotPenInterface.plot()


              PlotPenInterface pen = penMaybe.get();
              // there may be blank fields in the list of points
              // since some pens may have more points than others.
              if (data[i * 4].length() > 0) {
                try {
                  pen.plot(readNumber(data[i * 4]),
                      readNumber(data[i * 4 + 1]),
                      org.nlogo.api.Color.getARGBbyPremodulatedColorNumber
                          ((int) readNumber(data[i * 4 + 2])),
                      readBoolean(data[i * 4 + 3]));
                } catch (ClassCastException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.