effect-tree
    Preparing search index...

    Function replaceLine

    Given a direction and a glyph, replaces the line at this direction in a given line set set with the given glyph and returns the new line set.

    At the key named you will find a version that does the same but accepts a name of a line set instead of a line set.

    Line set to change.

    A Direction of the glyph to be changed.

    String of new glyph.

    Updated line set.

    Index

    Properties

    Properties

    named: (
        direction: "left" | "right" | "top" | "bottom",
        glyph: string,
    ) => (
        name:
            | "ascii"
            | "double"
            | "halfSolid"
            | "halfSolidNear"
            | "halfSolidFar"
            | "hDouble"
            | "hThick"
            | "solid"
            | "space"
            | "thick"
            | "thin"
            | "vDouble"
            | "vThick"
            | "dashed"
            | "dashedWide"
            | "dotted"
            | "near"
            | "thickDashed"
            | "thickDashedWide"
            | "thickDotted",
    ) => LineSet