Class BottomToTopFlexItemMainDirector
java.lang.Object
com.itextpdf.layout.renderer.FlexColumnItemMainDirector
com.itextpdf.layout.renderer.BottomToTopFlexItemMainDirector
- All Implemented Interfaces:
IFlexItemMainDirector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidapplyDirectionForLine(List<T> renderers) Apply the direction for placement the items in flex line.voidapplyJustifyContent(List<FlexUtil.FlexItemCalculationInfo> line, JustifyContent justifyContent, float freeSpace) Apply alignment on main flex direction.Methods inherited from class FlexColumnItemMainDirector
applyDirection
-
Constructor Details
-
BottomToTopFlexItemMainDirector
BottomToTopFlexItemMainDirector()
-
-
Method Details
-
applyDirectionForLine
Apply the direction for placement the items in flex line.- Specified by:
applyDirectionForLinein interfaceIFlexItemMainDirector- Specified by:
applyDirectionForLinein classFlexColumnItemMainDirector- Parameters:
renderers- list of renderers orFlexItemInfo.
-
applyJustifyContent
public void applyJustifyContent(List<FlexUtil.FlexItemCalculationInfo> line, JustifyContent justifyContent, float freeSpace) Description copied from interface:IFlexItemMainDirectorApply alignment on main flex direction.- Parameters:
line- flex line of items to apply alignment to.justifyContent- alignment to apply.freeSpace- precalculated free space to distribute between flex items in a line.
-