Class PlinePathBuilder

java.lang.Object
org.jhotdraw8.geom.AbstractPathBuilder<List<PlinePath>>
org.jhotdraw8.geom.contour.PlinePathBuilder
All Implemented Interfaces:
PathBuilder<List<PlinePath>>

public class PlinePathBuilder extends AbstractPathBuilder<List<PlinePath>>
Path builder for PlinePath.
  • Constructor Details

    • PlinePathBuilder

      public PlinePathBuilder()
  • Method Details

    • getFlatness

      public double getFlatness()
    • setFlatness

      public void setFlatness(double flatness)
    • build

      public List<PlinePath> build()
      Description copied from interface: PathBuilder
      Builds something.

      Some implementations may guarantee a non-null return value.

    • doClosePath

      protected void doClosePath(double lastX, double lastY, double lastMoveToX, double lastMoveToY)
      Specified by:
      doClosePath in class AbstractPathBuilder<List<PlinePath>>
    • doCurveTo

      protected void doCurveTo(double lastX, double lastY, double x1, double y1, double x2, double y2, double x, double y)
      Specified by:
      doCurveTo in class AbstractPathBuilder<List<PlinePath>>
    • doLineTo

      protected void doLineTo(double lastX, double lastY, double x, double y)
      Specified by:
      doLineTo in class AbstractPathBuilder<List<PlinePath>>
    • doMoveTo

      protected void doMoveTo(double x, double y)
      Specified by:
      doMoveTo in class AbstractPathBuilder<List<PlinePath>>
    • doQuadTo

      protected void doQuadTo(double lastX, double lastY, double x1, double y1, double x, double y)
      Specified by:
      doQuadTo in class AbstractPathBuilder<List<PlinePath>>
    • doArcTo

      protected void doArcTo(double lastX, double lastY, double radiusX, double radiusY, double xAxisRotation, double x, double y, boolean largeArcFlag, boolean sweepFlag)
      Overrides:
      doArcTo in class AbstractPathBuilder<List<PlinePath>>