Skip to content

PDFBrush

Namespace: O2S.Components.PDF4NET.Graphics

Defines PDF brush.

public class PDFBrush

Inheritance ObjectPDFBrush

Remarks

The brush is used to fill a path with a color.

Constructors

PDFBrush()

Initializes a new PDFBrush object.

public PDFBrush()

Remarks

The brush is initialized with a default RGB black color.


PDFBrush(PDFColor)

Initializes a new PDFBrush object.

public PDFBrush(PDFColor color)

Parameters

color PDFColor
The brush color.


Properties

Color

Gets or sets the color.

public PDFColor Color { get; set; }

Property Value

PDFColor
The brush color.