Search Results for

    Show / Hide Table of Contents

    Class FlexLine

    Used internally by Flexbox LayoutAlgorithms when arranging flexitems into lines (following the advice of CSS3 Specification)

    Inheritance
    Object
    FlexLine
    Namespace: NinjaTools.FlexBuilder.LayoutAlgorithms
    Assembly: cs.temp.dll.dll
    Syntax
    public class FlexLine

    Constructors

    - (void) FlexLine()

    - (void) FlexLine(List, Single)

    Parameters
    List<FlexItem> initialItems
    Single totalOuters

    Fields

    - (List<FlexItem>) items

    - (Single) totalOuterMainLengths

    NB: MUST be set post-facto by the Layout Algorithm; this is post-processed by multiple stages (e.g. grow/shrink) during the Layout, so it's impossible for this class to internally maintain it - the code that used to do that has been removed

    NB: MUST include any CSS3-Gap (i.e. this is the total of all MARGIN-box sizes AND the additional 'pseudo-margin' added by gap/column-gap/row-gap

    - (Nullable<Single>) usedCrossLength_FromOuterLengths

    Methods

    - (void) Add(FlexItem, Single)

    Parameters
    FlexItem item
    Single outerMainLengthOfItem
    In This Article
    Back to top http://flexbuilder.ninja