Interface IWorkflowBpmnCardinalAlignmentSpacingSelector

    • Method Detail

      • 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.