|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecty.view.PolyLinePathCalculator
public class PolyLinePathCalculator
Calculates the visible path of an edge as a polyline.
The behavior of this path calculator is similar to the path calculated for
class PolyLineEdgeRealizer
.
![]() |
![]() |
Constructor Summary | |
---|---|
PolyLinePathCalculator()
Initializes a new PolyLinePathCalculator instance. |
Method Summary | |
---|---|
byte |
calculatePath(EdgeRealizer context,
BendList bends,
java.awt.geom.GeneralPath path,
java.awt.geom.Point2D sourceIntersectionPointOut,
java.awt.geom.Point2D targetIntersectionPointOut)
Calculates the visible path of an edge as a polyline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolyLinePathCalculator()
PolyLinePathCalculator
instance.
Method Detail |
---|
public byte calculatePath(EdgeRealizer context, BendList bends, java.awt.geom.GeneralPath path, java.awt.geom.Point2D sourceIntersectionPointOut, java.awt.geom.Point2D targetIntersectionPointOut)
calculatePath
in interface GenericEdgeRealizer.PathCalculator
context
- the context EdgeRealizerbends
- the current BendListpath
- the current GeneralPathsourceIntersectionPointOut
- the point to place the source intersection point intargetIntersectionPointOut
- the point to place the target intersection point in
EdgeRealizer.PATH_UNCLIPPED
,
EdgeRealizer.PATH_CLIPPED_AT_SOURCE
,
EdgeRealizer.PATH_CLIPPED_AT_TARGET
, or
EdgeRealizer.PATH_CLIPPED_AT_SOURCE_AND_TARGET
.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |