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