Package de.xima.fc.common.workflow.bpmn
Interface IWorkflowBpmnPointsAccessor
-
- All Known Implementing Classes:
EAxisAlignedRectanglePointsAccessor,ECirclePointsAccessor,EUprightRhombusPointsAccessor
public interface IWorkflowBpmnPointsAccessorAccessor the points of anIWorkflowBpmnAlignmentItem, used by theWorkflowBpmnAlignmentItemBuilder. SeeIWorkflowBpmnAlignmentItem.point(String)andIWorkflowBpmnAlignmentItem.point(ECardinalDirection2D, double).- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Point2DDoublepoint(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)Point2DDoublepoint(Rectangular2DDouble boundingBox, String name)
-
-
-
Method Detail
-
point
Point2DDouble point(Rectangular2DDouble boundingBox, String name)
SeeIWorkflowBpmnAlignmentItem.point(String). The first argument is thebounding boxof the alignment item for which to obtain the point.- Parameters:
boundingBox- The bounding box of the alignment item.name- The name of the point to obtain.- Returns:
- The named point of the alignment item, relative to the top-left corner of the bounding box, or null when no such point exists.
-
point
Point2DDouble point(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)
SeeIWorkflowBpmnAlignmentItem.point(ECardinalDirection2D, double). The first argument is thebounding boxof the alignment item for which to obtain the point.- Parameters:
boundingBox- The bounding box of the alignment item.direction- The direction from which to obtain the point. This points towards an edge the alignment item's bounding box.ratio- The ratio of the distance from the left or top part of the edge pointed to by the given direction.- Returns:
- The point on the edge of the alignment item, relative to the top-left corner of the bounding box.
-
-