Class BrailleGrid


  • public class BrailleGrid
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BrailleGrid​(double quanta)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void drawDotPath​(double x, double y, DotPath shape)  
      void drawPolygon​(java.util.List<java.awt.geom.Point2D> points)  
      int getMaxX()  
      int getMaxY()  
      int getMinX()  
      int getMinY()  
      double getQuanta()  
      boolean getState​(int x, int y)  
      void line​(double x1, double y1, double x2, double y2)  
      void rectangle​(double x, double y, double width, double height)  
      void setState​(int x, int y, boolean state)  
      int toInt​(double value)  
      • Methods inherited from class java.lang.Object

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

      • BrailleGrid

        public BrailleGrid​(double quanta)
    • Method Detail

      • getState

        public boolean getState​(int x,
                                int y)
      • setState

        public void setState​(int x,
                             int y,
                             boolean state)
      • getMinX

        public int getMinX()
      • getMinY

        public int getMinY()
      • getMaxX

        public int getMaxX()
      • getMaxY

        public int getMaxY()
      • rectangle

        public void rectangle​(double x,
                              double y,
                              double width,
                              double height)
      • toInt

        public int toInt​(double value)
      • line

        public void line​(double x1,
                         double y1,
                         double x2,
                         double y2)
      • getQuanta

        public double getQuanta()
      • drawDotPath

        public void drawDotPath​(double x,
                                double y,
                                DotPath shape)
      • drawPolygon

        public void drawPolygon​(java.util.List<java.awt.geom.Point2D> points)