Skip to content

modern-pdf-lib


modern-pdf-lib / DrawCircleOptions

Interface: DrawCircleOptions

Defined in: src/core/pdfPage.ts:309

Options for PdfPage.drawCircle.

Properties

blendMode?

optional blendMode: BlendMode

Defined in: src/core/pdfPage.ts:330

Blend mode for compositing.


borderColor?

optional borderColor: Color

Defined in: src/core/pdfPage.ts:324

Border colour.


borderDashArray?

optional borderDashArray: number[]

Defined in: src/core/pdfPage.ts:332

Dash pattern for border.


borderDashPhase?

optional borderDashPhase: number

Defined in: src/core/pdfPage.ts:334

Dash phase offset for border.


borderLineCap?

optional borderLineCap: 0 | 1 | 2

Defined in: src/core/pdfPage.ts:336

Line cap style for border.


borderOpacity?

optional borderOpacity: number

Defined in: src/core/pdfPage.ts:338

Border stroke opacity [0, 1].


borderWidth?

optional borderWidth: number

Defined in: src/core/pdfPage.ts:326

Border width.


color?

optional color: Color

Defined in: src/core/pdfPage.ts:322

Fill colour.


opacity?

optional opacity: number

Defined in: src/core/pdfPage.ts:328

Opacity.


radius?

optional radius: number

Defined in: src/core/pdfPage.ts:315

Radius of the circle.


size?

optional size: number

Defined in: src/core/pdfPage.ts:320

Radius of the circle.

Deprecated

Use radius instead.


x?

optional x: number

Defined in: src/core/pdfPage.ts:311

Centre x.


y?

optional y: number

Defined in: src/core/pdfPage.ts:313

Centre y.

Released under the MIT License.