Examples of DrawAttributes


Examples of de.capacis.jzeemap.DrawAttributes

    final ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    final SceneConfiguration sceneConfig = getScene().getConfiguration();
    sceneConfig.updateFromImageConfiguration(getOutputConfiguration().getClipping());

    final DrawAttributes drawAttributes = new DrawAttributes();
    drawAttributes.setPointAttributes(getOutputConfiguration().getPoint());
    drawAttributes.setTimestampAttributes(getOutputConfiguration().getTimestamp());
    drawAttributes.setDaycounterAttributes(getOutputConfiguration().getDaycounter());
    final PrintWriter fileListWriter = new PrintWriter(new BufferedOutputStream(new FileOutputStream(new File(getOutputConfiguration().getDir(), getOutputConfiguration().getImage().getPrefix() + ".list"))));
    final long timeslice = (sceneConfig.getMaxTimestamp().getTime() - sceneConfig.getMinTimestamp().getTime() + 1) / imageCount;
    logger.info("will create " + imageCount + " images, each having a scene duration of " + DurationFormatUtils.formatDurationHMS(timeslice));

    final AtomicInteger drawnObjects = new AtomicInteger(0);
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.