modern-pdf-lib / DrawSvgPathOptions
Interface: DrawSvgPathOptions
Defined in: src/core/pdfPage.ts:372
Options for PdfPage.drawSvgPath.
Properties
blendMode?
optionalblendMode:BlendMode
Defined in: src/core/pdfPage.ts:388
Blend mode for compositing.
borderColor?
optionalborderColor:Color
Defined in: src/core/pdfPage.ts:382
Border (stroke) colour.
borderDashArray?
optionalborderDashArray:number[]
Defined in: src/core/pdfPage.ts:390
Dash pattern for border.
borderDashPhase?
optionalborderDashPhase:number
Defined in: src/core/pdfPage.ts:392
Dash phase offset for border.
borderLineCap?
optionalborderLineCap:0|1|2
Defined in: src/core/pdfPage.ts:394
Line cap style for border.
borderOpacity?
optionalborderOpacity:number
Defined in: src/core/pdfPage.ts:396
Border stroke opacity [0, 1].
borderWidth?
optionalborderWidth:number
Defined in: src/core/pdfPage.ts:384
Border width in points.
color?
optionalcolor:Color
Defined in: src/core/pdfPage.ts:380
Fill colour.
opacity?
optionalopacity:number
Defined in: src/core/pdfPage.ts:386
Opacity [0, 1].
scale?
optionalscale:number
Defined in: src/core/pdfPage.ts:378
Uniform scale factor applied to the path.
x?
optionalx:number
Defined in: src/core/pdfPage.ts:374
X translation (PDF coordinates).
y?
optionaly:number
Defined in: src/core/pdfPage.ts:376
Y translation (PDF coordinates).