PDFHatchBrush¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines a hatch brush.
Inheritance Object → PDFBrush → PDFPatternBrush → PDFHatchBrush
Constructors¶
PDFHatchBrush()¶
Initializes a new PDFHatchBrush object.
PDFHatchBrush(PDFHatchBrushStyle)¶
Initializes a new PDFHatchBrush object.
Parameters
style PDFHatchBrushStyle
The style of the hatch brush.
PDFHatchBrush(Double, Double)¶
Initializes a new PDFHatchBrush object.
Parameters
width Double
The width of the brush hatch model.
height Double
The height of the brush hatch model.
PDFHatchBrush(Double, Double, PDFHatchBrushStyle)¶
Initializes a new PDFHatchBrush object.
Parameters
width Double
The width of the brush hatch model.
height Double
The height of the brush hatch model.
style PDFHatchBrushStyle
The style of the hatch brush.
Properties¶
Color¶
Gets or sets the color.
Property Value
PDFColor
The brush color.
HatchBackgroundColor¶
Gets or sets the hatch background color.
Property Value
PDFBrush
A PDFBrush object specifying how the hatch background is filled.
HatchColor¶
Gets or sets the hatch color.
Property Value
PDFPen
A PDFPen object specifying how the hatch model is drawn.
Height¶
Gets the brush height.
Property Value
Double
The height of the brush hatch model.
Style¶
Gets or sets the brush style.
Property Value
PDFHatchBrushStyle
A PDFHatchBrushStyle enum member specifying the style of this brush object.
UncoloredPatternPaintColor¶
Gets or sets the uncolored pattern paint color.
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.
Width¶
Gets the brush width.
Property Value
Double
The width of the brush hatch model.