Appearance
Interface: ShadowProps ​
Properties ​
angle? ​
optionalangle?:number
angle (degrees)
- range: 0-359
Default ​
ts
0blur? ​
optionalblur?:number
blur (points)
- MS-PPT > Format Shape > Effects > Shadow > Blur
- PowerPoint's own spinner stops at 100, but a larger blur is unusual rather than invalid: it loads and paints. Only a negative blur is rejected (clamped to
0with ashadow/blur-out-of-rangediagnostic), because theblurRadattribute is unsigned.
Default ​
ts
0color? ​
optionalcolor?:string
shadow color (hex format)
Example ​
ts
'FF3399'offset? ​
optionaloffset?:number
shadow offset (points)
- MS-PPT > Format Shape > Effects > Shadow > Distance
- PowerPoint's own spinner stops at 200, but a larger distance is unusual rather than invalid: it loads and paints. Only a negative offset is rejected (clamped to
0with ashadow/offset-out-of-rangediagnostic), because thedistattribute is unsigned.
Default ​
ts
0rotateWithShape? ​
optionalrotateWithShape?:boolean
whether to rotate shadow with shape
Default ​
ts
falsetransparency? ​
optionaltransparency?:number
shadow transparency (percent)
- MS-PPT > Format Shape > Effects > Shadow > Transparency
- range: 0-100 (0 = fully opaque, 100 = fully transparent)
Example ​
ts
25 // 25% transparenttype ​
type:
"none"|"outer"|"inner"
shadow type
Default ​
ts
'none'