sheetex - v1.3.0
    Preparing search index...

    Interface Border

    边框

    1. 设置上下左右边框都为红色细线
    const border = {
    style: 'thin',
    color: 'FF0000',
    }
    1. 设置左侧为红色细线,右侧为黑色粗线
    const border = {
    left: {
    style: 'thin',
    color: 'FF0000',
    },
    right: {
    style: 'thick',
    color: '000000',
    }
    }
    1. 使用全局线型和颜色可以一次性设置所有方向上的边框
    2. 具体方向上的边框样式优先于全局样式,可在全局样式的基础上对特定位置进行覆盖
    3. 对角线需要同时设置样式和方向才能显示
    interface Border {
        style?:
            | "none"
            | "medium"
            | "double"
            | "hair"
            | "dotted"
            | "dashDotDot"
            | "dashDot"
            | "dashed"
            | "thin"
            | "mediumDashDotDot"
            | "slantDashDot"
            | "mediumDashDot"
            | "mediumDashed"
            | "thick";
        color?: string;
        diagonalUp?: boolean;
        diagonalDown?: boolean;
        left?: BorderStyle;
        top?: BorderStyle;
        right?: BorderStyle;
        bottom?: BorderStyle;
        diagonal?: BorderStyle;
    }
    Index

    Properties

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

    全局线型

    color?: string

    全局颜色

    diagonalUp?: boolean

    是否显示从左下到右上的对角线

    diagonalDown?: boolean

    是否显示从左上到右下的对角线

    左侧边框样式

    上方边框样式

    right?: BorderStyle

    右侧边框样式

    bottom?: BorderStyle

    底部边框样式

    diagonal?: BorderStyle

    对角线样式