AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9" />

 LinearGradient

public sealed class LinearGradient : IGradient, IImageSource
Represents a linear gradient: http://dev.w3.org/csswg/css-images-3/#linear-gradients
public Angle Angle { get; }

Gets the angle of the linear gradient.

public bool IsRepeating { get; }

Gets if the gradient is repeating.

public IEnumerable<GradientStop> Stops { get; }

Gets an enumeration of all stops.

public LinearGradient(Angle angle, GradientStop[] stops, bool repeating = false)

Creates a new linear gradient.