Skip to main content

Spread Property

Gets or sets the spread radius. This is used to control the overall size of the shadow.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double Spread {
get;
set; }

Property Value

Double

Remarks

Positive values will cause the shadow to expand and grow larger, negative values will cause the shadow to shrink. If not specified, the default (zero) is used and the shadow will be the same size as the element.

See Also

Reference

BoxShadow Structure
Avalonia.Media Namespace