PdfGradientBrush class
Namespace: PdfNetStack.Drawing
Assembly: PdfNetStack.dll
Package: PdfNetStack
Base of linear and radial gradients.
public abstract class PdfGradientBrush : PdfBrushInheritance
object ← PdfBrush ← PdfGradientBrush
Derived
PdfLinearGradientBrush, PdfRadialGradientBrush
Properties
Section titled “Properties”The common opacity of all stops.
public double Alpha { get; }Property Value
Section titled “Property Value”Extend
Section titled “ Extend”When true, the end colors continue beyond the gradient’s ends. Default true.
public bool Extend { get; }Property Value
Section titled “Property Value”The color stops, in order.
public IReadOnlyList<PdfGradientStop> Stops { get; }