[]
        
(Showing Draft Content)

PdfGradientBrush Class

PdfGradientBrush Class

Represents an abstract class that serves as a base class for the PdfLinearGradientBrush and PdfRadialGradientBrush classes.

This class is not intended to be instantiated in your code.

Heirarchy

Constructors

Properties

Methods

Constructors

constructor

Properties

opacity

opacity: number

Gets or sets the opacity of the brush. The value must be in range [0, 1], where 0 indicates that the brush is completely transparent and 1 indicates that the brush is completely opaque. The default value is 1.

stops

Gets or sets an array of PdfGradientStop objects representing a color, offset and opacity within the brush's gradient axis. The default value is an empty array.

Methods

clone

equals