@qrcommunication/gigapdf-lib — SDK API reference - v0.121.0
    Preparing search index...

    Interface GigaTableCell

    A table cell: block content, span, and optional RGB shading (model::Cell).

    interface GigaTableCell {
        blocks: GigaBlock[];
        col_span: number;
        row_span: number;
        shading: [number, number, number] | null;
        borders?: [
            GigaParaBorder
            | null,
            GigaParaBorder | null,
            GigaParaBorder | null,
            GigaParaBorder | null,
        ];
    }
    Index

    Properties

    blocks: GigaBlock[]
    col_span: number
    row_span: number
    shading: [number, number, number] | null

    RGB 0..=1 background, or null for no shading.

    borders?: [
        GigaParaBorder
        | null,
        GigaParaBorder | null,
        GigaParaBorder | null,
        GigaParaBorder | null,
    ]

    Per-cell borders [top, right, bottom, left] (same shape as the paragraph borders). Omitted = no per-cell regime: the table-wide GigaTable.border applies. When present, a null side draws nothing (an explicit "no line here"). Present since 0.117.0.