Interface MulticolRenderer.ColumnHeightCalculator
Interface which used for additional height calculation
public interface MulticolRenderer.ColumnHeightCalculator
Methods
GetAdditionalHeightOfEachColumn(MulticolRenderer, MulticolLayoutResult)
Calculate height, by which current height of given
MulticolRenderer
should be increased so
MulticolLayoutResult#getOverflowRenderer
could be lauded
float? GetAdditionalHeightOfEachColumn(MulticolRenderer renderer, MulticolRenderer.MulticolLayoutResult result)
Parameters
renderer
MulticolRenderermulticol renderer for which height needs to be increased
result
MulticolRenderer.MulticolLayoutResultresult of one iteration of
MulticolRenderer
layouting
Returns
- float?
height by which current height of given multicol renderer should be increased
MaxAmountOfRelayouts()
int MaxAmountOfRelayouts()