Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / ShadowProps

Interface: ShadowProps

Defined in: src/types/style.ts:94

Properties

angle?

optional angle?: number

Defined in: src/types/style.ts:118

angle (degrees)

  • range: 0-359

Default

ts
0

blur?

optional blur?: number

Defined in: src/types/style.ts:112

blur (points)

  • range: 0-100

Default

ts
0

color?

optional color?: string

Defined in: src/types/style.ts:129

shadow color (hex format)

Example

ts
'FF3399'

offset?

optional offset?: number

Defined in: src/types/style.ts:124

shadow offset (points)

  • range: 0-200

Default

ts
0

rotateWithShape?

optional rotateWithShape?: boolean

Defined in: src/types/style.ts:134

whether to rotate shadow with shape

Default

ts
false

transparency?

optional transparency?: number

Defined in: src/types/style.ts:106

shadow transparency (percent)

  • MS-PPT > Format Shape > Effects > Shadow > Transparency
  • range: 0-100 (0 = fully opaque, 100 = fully transparent)

Example

ts
25 // 25% transparent

type

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

Defined in: src/types/style.ts:99

shadow type

Default

ts
'none'