Class DotPath

java.lang.Object
net.sourceforge.plantuml.klimt.shape.DotPath
All Implemented Interfaces:
Moveable, UShape

public class DotPath extends Object implements UShape, Moveable
  • Constructor Details

    • DotPath

      public DotPath()
  • Method Details

    • copy

      public DotPath copy()
    • fromBeziers

      public static DotPath fromBeziers(List<XCubicCurve2D> beziers)
    • addCurve

      public DotPath addCurve(XPoint2D pt1, XPoint2D pt2, XPoint2D pt3, XPoint2D pt4)
    • addCurve

      public DotPath addCurve(XPoint2D pt2, XPoint2D pt3, XPoint2D pt4)
    • getStartPoint

      public XPoint2D getStartPoint()
    • sample

      public Set<XPoint2D> sample()
    • getMiddle

      public PointAndAngle getMiddle()
    • forceStartPoint

      public void forceStartPoint(double x, double y)
    • moveStartPoint

      public void moveStartPoint(UTranslate move)
    • moveEndPoint

      public void moveEndPoint(UTranslate move)
    • moveStartPoint

      public void moveStartPoint(double dx, double dy)
    • getEndPoint

      public XPoint2D getEndPoint()
    • forceEndPoint

      public void forceEndPoint(double x, double y)
    • moveEndPoint

      public void moveEndPoint(double dx, double dy)
    • getMinFinder

      public MinFinder getMinFinder()
    • getMinMax

      public MinMax getMinMax()
    • getMinDist

      public double getMinDist(XPoint2D ref)
    • getEndTangeante

      public Line2D getEndTangeante()
    • getEndAngle

      public double getEndAngle()
    • getStartAngle

      public double getStartAngle()
    • getStartTangeante

      public Line2D getStartTangeante()
    • addBefore

      public DotPath addBefore(XCubicCurve2D before)
    • addAfter

      public DotPath addAfter(XCubicCurve2D after)
    • addAfter

      public DotPath addAfter(DotPath other)
    • draw

      public void draw(Graphics2D g2d, double x, double y)
    • manageEnsureVisible

      public void manageEnsureVisible(double x, double y, EnsureVisible visible)
    • toUPath

      public UPath toUPath()
    • toString

      public static String toString(XCubicCurve2D c)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reverse

      public static XCubicCurve2D reverse(XCubicCurve2D curv)
    • reverse

      public DotPath reverse()
    • moveSvek

      public void moveSvek(double deltaX, double deltaY)
      Specified by:
      moveSvek in interface Moveable
    • getBeziers

      public final List<XCubicCurve2D> getBeziers()
    • simulateCompound

      public DotPath simulateCompound(RectangleArea head, RectangleArea tail)
    • isLine

      public boolean isLine()
    • setCommentAndCodeLine

      public void setCommentAndCodeLine(String comment, String codeLine)