Class FXPathElementsBuilder

java.lang.Object
org.jhotdraw8.geom.AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
org.jhotdraw8.geom.FXPathElementsBuilder
All Implemented Interfaces:
PathBuilder<List<javafx.scene.shape.PathElement>>

public class FXPathElementsBuilder extends AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
FXPathElementsBuilder.
Author:
Werner Randelshofer
  • Field Details

    • CLOSE_PATH

      public static final javafx.scene.shape.ClosePath CLOSE_PATH
  • Constructor Details

    • FXPathElementsBuilder

      public FXPathElementsBuilder()
    • FXPathElementsBuilder

      public FXPathElementsBuilder(@NonNull List<javafx.scene.shape.PathElement> elements)
  • Method Details

    • build

      public @NonNull List<javafx.scene.shape.PathElement> build()
      Description copied from interface: PathBuilder
      Builds something.

      Some implementations may guarantee a non-null return value.

    • doArcTo

      protected void doArcTo(double lastX, double lastY, double rx, double ry, double xAxisRotation, double x, double y, boolean largeArcFlag, boolean sweepFlag)
      Overrides:
      doArcTo in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doClosePath

      protected void doClosePath(double lastX, double lastY, double lastMoveToX, double lastMoveToY)
      Specified by:
      doClosePath in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doCurveTo

      protected void doCurveTo(double lastX, double lastY, double x, double y, double x0, double y0, double x1, double y1)
      Specified by:
      doCurveTo in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doLineTo

      protected void doLineTo(double lastX, double lastY, double x, double y)
      Specified by:
      doLineTo in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doMoveTo

      protected void doMoveTo(double x, double y)
      Specified by:
      doMoveTo in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doPathDone

      protected void doPathDone()
      Specified by:
      doPathDone in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>
    • doQuadTo

      protected void doQuadTo(double lastX, double lastY, double x, double y, double x0, double y0)
      Specified by:
      doQuadTo in class AbstractPathBuilder<List<javafx.scene.shape.PathElement>>