Interface IWorkflowBpmnCardinalAlignmentSpacingSelector


public interface IWorkflowBpmnCardinalAlignmentSpacingSelector
Selector for the spacing to use when aligning alignment item in a cardinal direction, e.g. via alignAtAxis or alignAtPorts.
Since:
8.4.0
  • Method Details

    • selectSpacing

      double selectSpacing(List<? extends IWorkflowBpmnAlignmentItem<?,?>> items, ECardinalDirection2D direction, int itemIndex)
      Selects the spacing to use when aligning alignment items in a cardinal direction.
      Parameters:
      items - The items that are being aligned.
      direction - The direction in which the items are aligned.
      itemIndex - The index of an item in the list.
      Returns:
      The spacing between the i-th and (i+1)-th item in the list.