Skip to content

ShapeStyle

@scaryterry/pdfium


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

Style options for shape objects (rectangles, paths).

optional fill: Colour

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

Fill colour. If omitted, no fill.


optional stroke: Colour

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

Stroke colour. If omitted, no stroke.


optional strokeWidth: number

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

Stroke width in points (default: 1).