AngleSharp by Florian Rappl

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

 LinearGradient

Represents a linear gradient: http://dev.w3.org/csswg/css-images-3/#linear-gradients
public float Angle { get; }

Gets the angle in radiant [0, 2pi].

public bool IsRepeating { get; }

Gets if the gradient is repeating.

public IEnumerable<GradientStop> Stops { get; }

Gets an enumeration of all stops.

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

Creates a new linear gradient.