Class TopToBottomFlexItemMainDirector

    • Constructor Detail

      • TopToBottomFlexItemMainDirector

        TopToBottomFlexItemMainDirector()
    • Method Detail

      • applyJustifyContent

        public void applyJustifyContent​(java.util.List<FlexUtil.FlexItemCalculationInfo> line,
                                        JustifyContent justifyContent,
                                        float freeSpace)
        Apply 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.