Skip to content

PdfGradientBrush class

View as Markdown

Namespace: PdfNetStack.Drawing
Assembly: PdfNetStack.dll
Package: PdfNetStack

Base of linear and radial gradients.

public abstract class PdfGradientBrush : PdfBrush

Inheritance

object ← PdfBrush ← PdfGradientBrush

Derived

PdfLinearGradientBrush, PdfRadialGradientBrush

The common opacity of all stops.

public double Alpha { get; }

double

When true, the end colors continue beyond the gradient’s ends. Default true.

public bool Extend { get; }

bool

The color stops, in order.

public IReadOnlyList<PdfGradientStop> Stops { get; }

IReadOnlyList<PdfGradientStop>