Class BuildHistory

java.lang.Object
com.github.weisj.jsvg.geometry.path.BuildHistory

public final class BuildHistory extends 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 Details

  • Constructor Details

    • BuildHistory

      public BuildHistory()
  • Method Details

    • setStartPoint

      public void setStartPoint(@NotNull @NotNull Point2D point)
    • setLast

      public void setLast(@NotNull @NotNull Point2D point)
    • setLastQuadratic

      public void setLastQuadratic(@NotNull @NotNull Point2D point, float knotX, float knotY)
    • setLastQuadratic

      public void setLastQuadratic(@NotNull @NotNull Point2D point, @NotNull @NotNull Point2D knot)
    • setLastCubic

      public void setLastCubic(@NotNull @NotNull Point2D current, float x, float y)