Class MarkerPathBuilder<T>

java.lang.Object
org.jhotdraw8.geom.AbstractPathBuilder<T>
org.jhotdraw8.geom.MarkerPathBuilder<T>
Type Parameters:
T - the product type
All Implemented Interfaces:
PathBuilder<T>

public class MarkerPathBuilder<T> extends AbstractPathBuilder<T>
MarkerPathBuilder. Places markers at the start, end and middle of the path. The path itself is not included by the builder.
Author:
Werner Randelshofer
  • Constructor Details

  • Method Details

    • doClosePath

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

      protected void doCurveTo(double lastX, double lastY, double x1, double y1, double x2, double y2, double x3, double y3)
      Specified by:
      doCurveTo in class AbstractPathBuilder<T>
    • doLineTo

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

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

      protected void doQuadTo(double lastX, double lastY, double x1, double y1, double x2, double y2)
      Specified by:
      doQuadTo in class AbstractPathBuilder<T>
    • build

      public @Nullable T build()
      Description copied from interface: PathBuilder
      Builds something.

      Some implementations may guarantee a non-null return value.