effect-tree - v1.0.36
    Preparing search index...

    Function box

    • Wrap a part in a configurable bordered box.

      At the curried key you can find a curried version that takes the settings as first argument.

      At the lines key you will find a version that takes an array of text lines instead of a part. They will be added to a column and the column will become the boxed part.

      Parameters

      Returns Draw.Part

    Index

    Properties

    Properties

    curried: (settings?: Partial<BoxSettings>) => EndoOf<Draw.Part>
    lines: (
        settings?: Partial<BoxSettings>,
    ) => (lines: string[], hAlign?: "left" | "right" | "center") => Draw.Part