Fray Electron
    Preparing search index...

    Function measureLayout

    • Measures panel and split rectangles subject to each panel's limits.

      Parameters

      • layout: Layout

        Tree to measure.

      • viewportWidth: number

        Available width in CSS pixels.

      • viewportHeight: number

        Available height in CSS pixels.

      • gap: number

        Space between adjacent panes in CSS pixels.

      Returns LayoutGeometry

      Clamped workspace dimensions and rectangles in renderer coordinates.