@jsfkit/types
    Preparing search index...

    Type Alias BorderStyle

    BorderStyle:
        | "none"
        | "dashDot"
        | "dashDotDot"
        | "dashed"
        | "dotted"
        | "double"
        | "hair"
        | "medium"
        | "mediumDashDot"
        | "mediumDashDotDot"
        | "mediumDashed"
        | "slantDashDot"
        | "thick"
        | "thin"

    The style to use when drawing a cell border. If the worksheet's zoom factor is changed the width of the border is expected to stay the same.

    Type Declaration

    • "none"

      No border is drawn.

    • "dashDot"

      Equivalent to SVG stroke-dasharray="4 1 2 1", at a 1px width.

    • "dashDotDot"

      Equivalent to SVG stroke-dasharray="4 1 2 1 2 1", at a 1px width.

    • "dashed"

      Equivalent to SVG stroke-dasharray=""3 1, at a 1px width.

    • "dotted"

      Equivalent to SVG stroke-dasharray="1", at a 1px width.

    • "double"

      Draw two 1px wide continuous parallel lines with a 1px gap between them.

    • "hair"

      Draw a 1px wide pixel continuous hairline.

    • "medium"

      Draw a 2px wide pixel continuous line.

    • "mediumDashDot"

      Equivalent to SVG stroke-dasharray="4 1 2 1", at a 2px width.

    • "mediumDashDotDot"

      Equivalent to SVG stroke-dasharray="4 1 2 1 2 1", at a 2px width.

    • "mediumDashed"

      Equivalent to SVG stroke-dasharray=""3 1, at a 2px width.

    • "slantDashDot"

      Draw two 1px parallel dashed lines where the lower/left line 1px "behind" the other, creating a slant.

    • "thick"

      Draw a 3px wide pixel continuous line.

    • "thin"

      Draw a 1px wide pixel continuous line.