Interface IWorkflowBpmnCardinalAlignmentSpacingSelector
-
public interface IWorkflowBpmnCardinalAlignmentSpacingSelectorSelector for the spacing to use when aligningalignment itemin acardinal direction, e.g. viaalignAtAxisoralignAtPorts.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleselectSpacing(List<? extends IWorkflowBpmnAlignmentItem<?,?>> items, ECardinalDirection2D direction, int itemIndex)Selects the spacing to use when aligningalignment itemsin acardinal direction.
-
-
-
Method Detail
-
selectSpacing
double selectSpacing(List<? extends IWorkflowBpmnAlignmentItem<?,?>> items, ECardinalDirection2D direction, int itemIndex)
Selects the spacing to use when aligningalignment itemsin acardinal 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.
-
-