Class PathCommand

    • Field Detail

      • isRelative

        private final boolean isRelative
      • nodeCount

        private final int nodeCount
    • Constructor Detail

      • PathCommand

        protected PathCommand​(int nodeCount)
      • PathCommand

        protected PathCommand​(boolean isRelative,
                              int nodeCount)
    • Method Detail

      • offset

        protected java.awt.geom.Point2D.Float offset​(@NotNull
                                                     @NotNull BuildHistory hist)
      • lastKnotReflectionCubic

        @NotNull
        protected java.awt.geom.Point2D.Float lastKnotReflectionCubic​(@NotNull
                                                                      @NotNull BuildHistory hist)
      • lastKnotReflectionQuadratic

        @NotNull
        protected java.awt.geom.Point2D.Float lastKnotReflectionQuadratic​(@NotNull
                                                                          @NotNull BuildHistory hist)
      • lastKnotReflection

        @NotNull
        private java.awt.geom.Point2D.Float lastKnotReflection​(@NotNull
                                                               java.awt.geom.Point2D.Float point,
                                                               @NotNull
                                                               java.awt.geom.Point2D.Float knot)
      • isRelative

        public boolean isRelative()
      • appendPath

        public abstract void appendPath​(@NotNull
                                        @NotNull java.awt.geom.Path2D path,
                                        @NotNull
                                        @NotNull BuildHistory hist)
      • nodeCount

        public int nodeCount()