Class DrawableBitSet


  • public class DrawableBitSet
    extends Object
    An analogous of BitSet which is explicitly 2 dimensional and allows drawing a shape to quickly turn on a large area of the map. This class is not thread safe.
    Author:
    Andrea Aime - GeoSolutions
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawableBitSet​(int width, int height)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean get​(int x, int y)  
      BufferedImage getImage()  
      void set​(int x, int y)  
      void set​(Shape shape)  
      void set​(Geometry geom)  
      • Methods inherited from class Object

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

      • DrawableBitSet

        public DrawableBitSet​(int width,
                              int height)
    • Method Detail

      • get

        public boolean get​(int x,
                           int y)
      • set

        public void set​(int x,
                        int y)
      • set

        public void set​(Geometry geom)
      • set

        public void set​(Shape shape)
      • getImage

        public BufferedImage getImage()