AngleSharp by AngleSharp

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

 RadialGradient

sealed class RadialGradient : IImageSource
Represents a radial gradient: http://dev.w3.org/csswg/css-images-3/#radial-gradients
public enum SizeMode

Enumeration with special size modes.

public Length Height { get; }

Gets the height.

public bool IsCircle { get; }

Gets if the gradient should always be displayed as a circle.

public bool IsRepeating { get; }

Gets if the gradient is repeating.

public SizeMode Mode { get; }

Gets the special size mode of the gradient.

public IEnumerable<GradientStop> Stops { get; }

Gets an enumeration of all stops.

public Length Width { get; }

Gets the width.

public Length X { get; }

Gets the x-position.

public Length Y { get; }

Gets the y-position.

public RadialGradient(bool circle, Point pt, Length width, Length height, SizeMode sizeMode, GradientStop[] stops, bool repeating = false)

Creates a new radial gradient.