Class BuildHistory


  • public class BuildHistory
    extends java.lang.Object
    When building a path from command segments, most need to cache information (such as the point finished at) for future commands. This structure allows that
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean init  
      (package private) java.awt.geom.Point2D.Float lastKnot  
      (package private) java.awt.geom.Point2D.Float lastPoint  
      (package private) java.awt.geom.Point2D.Float startPoint  
    • Constructor Summary

      Constructors 
      Constructor Description
      BuildHistory()
      Creates a new instance of BuildHistory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setLastKnot​(float x, float y)  
      void setLastPoint​(float x, float y)  
      void setStartPoint​(float x, float y)  
      • Methods inherited from class java.lang.Object

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

      • startPoint

        java.awt.geom.Point2D.Float startPoint
      • lastPoint

        java.awt.geom.Point2D.Float lastPoint
      • lastKnot

        java.awt.geom.Point2D.Float lastKnot
      • init

        boolean init
    • Constructor Detail

      • BuildHistory

        public BuildHistory()
        Creates a new instance of BuildHistory
    • Method Detail

      • setStartPoint

        public void setStartPoint​(float x,
                                  float y)
      • setLastPoint

        public void setLastPoint​(float x,
                                 float y)
      • setLastKnot

        public void setLastKnot​(float x,
                                float y)