Class Renderer


  • public class Renderer
    extends java.lang.Object
    Draws a vessel traffic density plot into a Graphics2D.
    • Constructor Detail

      • Renderer

        public Renderer()
    • Method Detail

      • paintMap

        public static void paintMap​(java.awt.Graphics2D g,
                                    Bounds b,
                                    double cellSizeDegrees,
                                    double numberStandardDeviationsForHighValue,
                                    int w,
                                    int h,
                                    rx.Observable<CellValue> cells,
                                    boolean addLegend)
      • paintMap

        public static void paintMap​(java.awt.Graphics2D g,
                                    Bounds b,
                                    double cellSizeDegrees,
                                    double numberStandardDeviationsForHighValue,
                                    int w,
                                    int h,
                                    rx.Observable<CellValue> cells,
                                    boolean addLegend,
                                    rx.functions.Func1<Position,​java.awt.Point> locator)
      • saveAsPng

        public static void saveAsPng​(java.awt.image.BufferedImage image,
                                     java.io.File file)