Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / ShadowProps

Interface: ShadowProps

Defined in: core-interfaces.ts:273

Properties

angle?

optional angle?: number

Defined in: core-interfaces.ts:296

angle (degrees)

  • range: 0-359

Default

ts
0

blur?

optional blur?: number

Defined in: core-interfaces.ts:290

blur (points)

  • range: 0-100

Default

ts
0

color?

optional color?: string

Defined in: core-interfaces.ts:307

shadow color (hex format)

Example

ts
'FF3399'

offset?

optional offset?: number

Defined in: core-interfaces.ts:302

shadow offset (points)

  • range: 0-200

Default

ts
0

opacity?

optional opacity?: number

Defined in: core-interfaces.ts:284

opacity (percent)

  • range: 0.0-1.0

Example

ts
0.5 // 50% opaque

rotateWithShape?

optional rotateWithShape?: boolean

Defined in: core-interfaces.ts:312

whether to rotate shadow with shape

Default

ts
false

type

type: "none" | "outer" | "inner"

Defined in: core-interfaces.ts:278

shadow type

Default

ts
'none'