Skip to main content
Version: 2.0.0-preview

Flat Shadow

Projects a flat (long) shadow at the given angle and length.

Library location​

Library → Filter Effect → Flat Shadow

Properties​

Angle​

Direction of the shadow in degrees.

  • Type: float
  • Default: 0
  • Animatable: Yes

Length​

How far the shadow extends.

  • Type: float
  • Default: 0
  • Animatable: Yes

Brush​

Brush used to fill the shadow.

  • Type: Brush?
  • Default: #FF808080 (gray)
  • Animatable: No

Shadow Only (ShadowOnly)​

Output only the shadow.

  • Type: bool
  • Default: false
  • Animatable: Yes

Usage​

Use for retro / flat-design "long-shadow" looks.

Source​

src/Beutl.Engine/Graphics/FilterEffects/FlatShadow.cs