Skip to content

vyaz-monorepo / renderers/src / DebugFlags

Interface: DebugFlags ​

Defined in: renderers/src/types.ts:5

Render types shared across all renderers (SVG, Canvas, etc.).

Properties ​

ascentDescent? ​

optional ascentDescent?: boolean

Defined in: renderers/src/types.ts:21

Ascent/descent lines


baseline? ​

optional baseline?: boolean

Defined in: renderers/src/types.ts:19

Baseline line


box? ​

optional box?: boolean

Defined in: renderers/src/types.ts:17

Line box outline


columnBox? ​

optional columnBox?: boolean

Defined in: renderers/src/types.ts:27

Column separators (only rendered when multi-column config is set).


contentBox? ​

optional contentBox?: boolean

Defined in: renderers/src/types.ts:9

Actual content bounding box (BBox of all lines)


frame? ​

optional frame?: boolean

Defined in: renderers/src/types.ts:29

Deprecated ​

Use frameBox instead


frameBox? ​

optional frameBox?: boolean

Defined in: renderers/src/types.ts:7

Frame container bounding box (frameWidth × frameHeight)


labels? ​

optional labels?: boolean

Defined in: renderers/src/types.ts:23

Coordinate labels


lineGap? ​

optional lineGap?: boolean

Defined in: renderers/src/types.ts:15

Show filled rect for each line's lineHeight (background fill).


paragraphBox? ​

optional paragraphBox?: boolean

Defined in: renderers/src/types.ts:11

Paragraph bounding boxes (grouped by paragraphId).


runs? ​

optional runs?: boolean

Defined in: renderers/src/types.ts:25

Run rectangles


widthBorder? ​

optional widthBorder?: number

Defined in: renderers/src/types.ts:13

Stroke width (px) for all debug border lines. Default 1.

Released under the MIT License.