Interface IWorkflowBpmnPointsAccessor
- All Known Implementing Classes:
EAxisAlignedRectanglePointsAccessor, ECirclePointsAccessor, EUprightRhombusPointsAccessor
public interface IWorkflowBpmnPointsAccessor
Accessor the points of an
IWorkflowBpmnAlignmentItem, used by the WorkflowBpmnAlignmentItemBuilder.
See IWorkflowBpmnAlignmentItem.point(String) and
IWorkflowBpmnAlignmentItem.point(ECardinalDirection2D, double).- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionpoint(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio) point(Rectangular2DDouble boundingBox, String name)
-
Method Details
-
point
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
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.
-