BorderItem
Defined in: src/layout/page-doc.ts:378
One edge of a table-cell frame; (x, y) is the cell box’s top-left corner.
Extends
Section titled “Extends”Properties
Section titled “Properties”artifact?
Section titled “artifact?”
readonlyoptionalartifact?:"pagination"
Defined in: src/layout/page-doc.ts:330
Tagged PDF: explicitly mark this item as a pagination artifact (running
header/footer, §14.8.2.2.2). Distinguishes header/footer text from
not-yet-tagged body content so it is typed /Artifact /Pagination, never a P.
Inherited from
Section titled “Inherited from”behind?
Section titled “behind?”
readonlyoptionalbehind?:boolean
Defined in: src/layout/page-doc.ts:314
§20.4.2.3 @behindDoc — the item is BEHIND the page’s content: a
watermark, a slide’s backdrop. Such items paint before everything else, in
their own order. Without that they rode the ordinary passes, where every
shape paints after every image — so a slide’s white backdrop covered the
photograph the slide is made of (corpus: tdf156808, tdf157635, tdf156856).
Inherited from
Section titled “Inherited from”borderColorHex
Section titled “borderColorHex”
readonlyborderColorHex:string
Defined in: src/layout/page-doc.ts:386
borderSizePt
Section titled “borderSizePt”
readonlyborderSizePt:number
Defined in: src/layout/page-doc.ts:385
borderStyle?
Section titled “borderStyle?”
readonlyoptionalborderStyle?:BorderStyle
Defined in: src/layout/page-doc.ts:392
§18.18.3 ST_BorderStyle — the rule’s PATTERN, when it is not solid.
dashed/dotted are line patterns, not weights, and dropping them here
painted 57423.xlsx’s dashed band as twelve continuous rules.
height
Section titled “height”
readonlyheight:Pt
Defined in: src/layout/page-doc.ts:384
pictureId?
Section titled “pictureId?”
readonlyoptionalpictureId?:number
Defined in: src/layout/page-doc.ts:324
The picture this item belongs to, when it is part of one. A metafile is a list of drawing orders, and text among them is BOTH over what came before and under what comes after: an embedded diagram writes a label, lays a panel over it and writes the label again, offset, as its own drop shadow. Painted in the ordinary passes — every shape, then every line — the buried copy would show through the panel. Items sharing this id are held out of those passes and painted together, in list order.
Inherited from
Section titled “Inherited from”
readonlyside:"top"|"right"|"bottom"|"left"
Defined in: src/layout/page-doc.ts:380
structId?
Section titled “structId?”
readonlyoptionalstructId?:number
Defined in: src/layout/page-doc.ts:306
Tagged PDF (§14.8): the logical structure node this item’s content belongs to. Set only on body content in tagged mode; undefined text in the line pass is treated as an artifact. Ignored when not tagging.
Inherited from
Section titled “Inherited from”
readonlytype:"border"
Defined in: src/layout/page-doc.ts:379
readonlywidth:Pt
Defined in: src/layout/page-doc.ts:383
readonlyx:Pt
Defined in: src/layout/page-doc.ts:381
readonlyy:Pt
Defined in: src/layout/page-doc.ts:382
readonlyoptionalz?:number
Defined in: src/layout/page-doc.ts:300
§20.4.2.3 — the float’s relativeHeight. Items with one are sorted by it
inside their layer before the page is written; the rest keep their order.