net.sourceforge.plantuml.posimo
Class DotPath
java.lang.Object
net.sourceforge.plantuml.posimo.DotPath
- All Implemented Interfaces:
- Moveable, UShape
public class DotPath
- extends Object
- implements UShape, Moveable
Method Summary |
DotPath |
addAfter(CubicCurve2D.Double after)
|
DotPath |
addAfter(DotPath other)
|
DotPath |
addBefore(CubicCurve2D.Double before)
|
DotPath |
addBefore(DotPath other)
|
void |
draw(BasicCharArea area,
double pixelXPerChar,
double pixelYPerChar)
|
void |
draw(EpsGraphics eps,
double x,
double y)
|
void |
draw(Graphics2D g2d,
double x,
double y)
|
void |
drawOk(EpsGraphics eps,
double x,
double y)
|
void |
forceEndPoint(double x,
double y)
|
void |
forceStartPoint(double x,
double y)
|
List<CubicCurve2D.Double> |
getBeziers()
|
double |
getEndAngle()
|
Point2D |
getEndPoint()
|
Line2D |
getEndTangeante()
|
Point2D |
getFrontierIntersection(Positionable p)
|
Point2D |
getFrontierIntersection(Shape shape,
Rectangle2D... notIn)
|
PointDirected |
getIntersection(ClusterPosition position)
|
PointAndAngle |
getMiddle()
|
double |
getMinDist(Point2D ref)
|
MinFinder |
getMinMax()
|
double |
getStartAngle()
|
Point2D |
getStartPoint()
|
Line2D |
getStartTangeante()
|
void |
manageEnsureVisible(double x,
double y,
EnsureVisible visible)
|
DotPath |
manageRect(Rectangle2D start,
Rectangle2D end)
|
void |
moveSvek(double deltaX,
double deltaY)
|
DotPath |
reverse()
|
static CubicCurve2D.Double |
reverse(CubicCurve2D curv)
|
Map<Point2D,Double> |
somePoints()
|
String |
toString()
|
UPath |
toUPath()
|
DotPath
public DotPath()
DotPath
public DotPath(DotPath other)
DotPath
public DotPath(String init,
double deltaY)
getStartPoint
public Point2D getStartPoint()
getMiddle
public PointAndAngle getMiddle()
forceStartPoint
public void forceStartPoint(double x,
double y)
getEndPoint
public Point2D getEndPoint()
forceEndPoint
public void forceEndPoint(double x,
double y)
getMinMax
public MinFinder getMinMax()
getMinDist
public double getMinDist(Point2D ref)
getEndTangeante
public Line2D getEndTangeante()
getEndAngle
public double getEndAngle()
getStartAngle
public double getStartAngle()
getStartTangeante
public Line2D getStartTangeante()
addBefore
public DotPath addBefore(CubicCurve2D.Double before)
addBefore
public DotPath addBefore(DotPath other)
addAfter
public DotPath addAfter(CubicCurve2D.Double after)
addAfter
public DotPath addAfter(DotPath other)
somePoints
public Map<Point2D,Double> somePoints()
getIntersection
public PointDirected getIntersection(ClusterPosition position)
draw
public void draw(Graphics2D g2d,
double x,
double y)
manageEnsureVisible
public void manageEnsureVisible(double x,
double y,
EnsureVisible visible)
drawOk
public void drawOk(EpsGraphics eps,
double x,
double y)
draw
public void draw(EpsGraphics eps,
double x,
double y)
toUPath
public UPath toUPath()
getFrontierIntersection
public Point2D getFrontierIntersection(Shape shape,
Rectangle2D... notIn)
manageRect
public DotPath manageRect(Rectangle2D start,
Rectangle2D end)
getFrontierIntersection
public Point2D getFrontierIntersection(Positionable p)
draw
public void draw(BasicCharArea area,
double pixelXPerChar,
double pixelYPerChar)
toString
public String toString()
- Overrides:
toString
in class Object
reverse
public static CubicCurve2D.Double reverse(CubicCurve2D curv)
reverse
public DotPath reverse()
moveSvek
public void moveSvek(double deltaX,
double deltaY)
- Specified by:
moveSvek
in interface Moveable
getBeziers
public final List<CubicCurve2D.Double> getBeziers()
Copyright © 2013. All Rights Reserved.