Skip to content

PDFPatternBrush

Namespace: O2S.Components.PDF4NET.Graphics

Defines a brush that uses a pattern to fill the path interior.

public class PDFPatternBrush : PDFBrush

Inheritance ObjectPDFBrushPDFPatternBrush

Constructors

PDFPatternBrush(PDFPatternColor)

Initializes a new PDFPatternBrush object.

public PDFPatternBrush(PDFPatternColor color)

Parameters

color PDFPatternColor
The brush color.


Properties

Color

Gets or sets the color.

public PDFColor Color { get; set; }

Property Value

PDFColor
The brush color.


UncoloredPatternPaintColor

Gets or sets the uncolored pattern paint color.

public PDFColor UncoloredPatternPaintColor { get; set; }

Property Value

PDFColor
The color used to paint an uncolored pattern.

Remarks

If the pattern colorspace associated with this brush color contains an uncolored tiling pattern then the pattern will be painted using the color specified in this property.
Note: This property cannot be set to another pattern color.