Skip to content

Interface: Reflection ​

A shape's reflection effect (spPr/a:effectLst/a:reflection) — a mirrored fade beneath the shape. This library's writer authors none, so this is a read-only surface: a consumer that finds one should carry the part verbatim rather than regenerate it. Only the attributes a faithful replica needs are decoded — distances in points (÷ 12700), directions in degrees (÷ 60000), and the start/end alpha and position pairs as 0–1 fractions (the 1000ths-of-a-percent source ÷ 100000). All fields are optional; an attribute absent from the source is omitted.

Properties ​

angleDeg? ​

optional angleDeg?: number

Offset direction in degrees (@dir ÷ 60000).


blurPt? ​

optional blurPt?: number

Blur radius in points (@blurRad ÷ 12700).


endAlpha? ​

optional endAlpha?: number

End opacity 0–1 (@endA ÷ 100000).


endPos? ​

optional endPos?: number

End position along the reflection 0–1 (@endPos ÷ 100000).


fadeAngleDeg? ​

optional fadeAngleDeg?: number

Fade direction in degrees (@fadeDir ÷ 60000).


offsetPt? ​

optional offsetPt?: number

Offset distance in points (@dist ÷ 12700).


startAlpha? ​

optional startAlpha?: number

Start opacity 0–1 (@stA ÷ 100000).


startPos? ​

optional startPos?: number

Start position along the reflection 0–1 (@stPos ÷ 100000).