Skip to content

ShapeStyle

@scaryterry/pdfium


Defined in: src/core/types.ts:732

Style options for shape objects (rectangles, paths).

optional fill: Colour

Defined in: src/core/types.ts:734

Fill colour. If omitted, no fill.


optional stroke: Colour

Defined in: src/core/types.ts:736

Stroke colour. If omitted, no stroke.


optional strokeWidth: number

Defined in: src/core/types.ts:738

Stroke width in points (default: 1).