Documentation of 'org.jzy3d.plot3d.rendering.view.OverlayUtils' Java class
OverlayUtils
org.jzy3d.plot3d.rendering.view

Class OverlayUtils



  • public class OverlayUtils
    extends java.lang.Object
    Helps understanding how overlay is actually performed by JOGL2.
    • Constructor Summary

      Constructors 
      Constructor and Description
      OverlayUtils() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static void drawCanvasAndViewportDiagonalComparison(Chart chart, java.awt.Graphics2D g2d) 
      static void drawChartBorder(java.awt.Graphics2D g2d, java.awt.Color c, Chart chart)
      This shows a strange behaviour in the Overlay: when trying to draw a rectangle based on the CANVAS size (i.e.
      static void drawDiagonal(java.awt.Graphics2D g2d, java.awt.Color c, int wmax, int hmax, boolean sysout)
      Diagonal made of points from (0,0) to (wmax, hmax).
      static void drawPixel(java.awt.Graphics2D g2d, java.awt.Color c, int x, int y) 
      static void drawPixel(java.awt.Graphics2D g2d, java.awt.Color c, int x, int y, int width) 
      void drawSelection(java.awt.Graphics2D g2d, IntegerCoord2d in, int width, int height) 
      static void drawText(java.awt.Graphics2D g2d, java.awt.Color c, int x, int y, java.lang.String txt) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OverlayUtils

        public OverlayUtils()
    • Method Detail

      • drawSelection

        public void drawSelection(java.awt.Graphics2D g2d,
                                  IntegerCoord2d in,
                                  int width,
                                  int height)
      • drawCanvasAndViewportDiagonalComparison

        public static void drawCanvasAndViewportDiagonalComparison(Chart chart,
                                                                   java.awt.Graphics2D g2d)
      • drawPixel

        public static void drawPixel(java.awt.Graphics2D g2d,
                                     java.awt.Color c,
                                     int x,
                                     int y,
                                     int width)
      • drawPixel

        public static void drawPixel(java.awt.Graphics2D g2d,
                                     java.awt.Color c,
                                     int x,
                                     int y)
      • drawText

        public static void drawText(java.awt.Graphics2D g2d,
                                    java.awt.Color c,
                                    int x,
                                    int y,
                                    java.lang.String txt)
      • drawChartBorder

        public static void drawChartBorder(java.awt.Graphics2D g2d,
                                           java.awt.Color c,
                                           Chart chart)
        This shows a strange behaviour in the Overlay: when trying to draw a rectangle based on the CANVAS size (i.e. the window size), the border occupies the CHART (i.e. its actual viewport).
      • drawDiagonal

        public static void drawDiagonal(java.awt.Graphics2D g2d,
                                        java.awt.Color c,
                                        int wmax,
                                        int hmax,
                                        boolean sysout)
        Diagonal made of points from (0,0) to (wmax, hmax).

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.