Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / BorderProps

Interface: BorderProps

Defined in: core-interfaces.ts:268

Properties

cap?

optional cap?: LineCap

Defined in: core-interfaces.ts:298

Line end cap style

Default

ts
'flat'

color?

optional color?: string

Defined in: core-interfaces.ts:279

Border color (hex)

Example

ts
'FF3399'

Default

ts
'666666'

transparency?

optional transparency?: number

Defined in: core-interfaces.ts:293

Border transparency (percent)

  • MS-PPT > Format Shape > Fill & Line > Line > Transparency
  • range: 0-100

Default

ts
0

type?

optional type?: "none" | "dash" | "solid"

Defined in: core-interfaces.ts:273

Border type

Default

ts
solid

width?

optional width?: number

Defined in: core-interfaces.ts:286

Border width (points)

  • MS-PPT > Format Shape > Fill & Line > Line > Width

Default

ts
1