Class PlanPerimeterFunction
- java.lang.Object
-
- jadex.gpmn.editor.gui.stylesheets.PlanPerimeterFunction
-
- All Implemented Interfaces:
com.mxgraph.view.mxPerimeter.mxPerimeterFunction
public class PlanPerimeterFunction extends java.lang.Object implements com.mxgraph.view.mxPerimeter.mxPerimeterFunction
-
-
Constructor Summary
Constructors Constructor Description PlanPerimeterFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mxgraph.util.mxPoint
apply(com.mxgraph.util.mxRectangle bounds, com.mxgraph.view.mxCellState vertex, com.mxgraph.util.mxPoint next, boolean orthogonal)
Implements a perimeter function.
-
-
-
Method Detail
-
apply
public com.mxgraph.util.mxPoint apply(com.mxgraph.util.mxRectangle bounds, com.mxgraph.view.mxCellState vertex, com.mxgraph.util.mxPoint next, boolean orthogonal)
Implements a perimeter function.- Specified by:
apply
in interfacecom.mxgraph.view.mxPerimeter.mxPerimeterFunction
- Parameters:
bounds
- Rectangle that represents the absolute bounds of the vertex.vertex
- Cell state that represents the vertex.next
- Point that represents the nearest neighbour point on the given edge.orthogonal
- Boolean that specifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.- Returns:
- Returns the perimeter point.
-
-