Interface IWorkflowBpmnPointsAccessor

All Known Implementing Classes:
EAxisAlignedRectanglePointsAccessor, ECirclePointsAccessor, EUprightRhombusPointsAccessor

public interface IWorkflowBpmnPointsAccessor
Since:
8.4.0
  • Method Details

    • point

      Point2DDouble point(Rectangular2DDouble boundingBox, String name)
      See IWorkflowBpmnAlignmentItem.point(String). The first argument is the bounding box of 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)
      See IWorkflowBpmnAlignmentItem.point(ECardinalDirection2D, double). The first argument is the bounding box of 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.