Class UndoBuffer


  • public class UndoBuffer
    extends Object
    • Constructor Detail

      • UndoBuffer

        public UndoBuffer()
    • Method Detail

      • save

        public void save​(Geometry g)
      • isEmpty

        public boolean isEmpty()
      • pop

        public void pop​(Geometry geometry)
        Pops the buffer if the top geometry is teh same as the given geometry.
        Parameters:
        geometry -
      • clear

        public void clear()