A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
590 B

using System.Collections.Generic;
namespace Avalonia.Media
{
/// <summary>
/// A brush that draws with a gradient.
/// </summary>
public interface IGradientBrush : IBrush
{
/// <summary>
/// Gets the brush's gradient stops.
/// </summary>
IList<GradientStop> GradientStops { get; }
/// <summary>
/// Gets the brush's spread method that defines how to draw a gradient that doesn't fill
/// the bounds of the destination control.
/// </summary>
GradientSpreadMethod SpreadMethod { get; }
}
}