PdfTilingBrush
12 Sep 20251 minute to read
PdfTilingBrush Implements a colored tiling brush.
Properties
element IPdfPrimitive
Gets the element.
graphics PdfGraphics
Gets Graphics context of the brush.
location PointF
Location representing the start position of the tiles.
rectangle Rectangle
Gets the boundary box of the smallest brush cell.
size SizeF
Gets the size of the smallest brush cell.
stroking boolean
Gets or sets a value indicating whether this PdfTilingBrush
is used for stroking operations.
Methods
clone
Creates a new copy of a brush.
Returns PdfBrush
getResources
Gets the resources and modifies the template dictionary.
Returns PdfResources
monitorChanges
Monitors the changes of the brush and modify PDF state respectfully.
| Parameter | Type | Description |
|---|---|---|
| brush | PdfBrush |
The brush |
| streamWriter | PdfStreamWriter |
The stream writer |
| getResources | GetResourceEventHandler |
The get resources delegate. |
| saveChanges | boolean |
if set to true the changes should be saved anyway. |
| currentColorSpace | PdfColorSpace |
The current color space. |
Returns boolean
resetChanges
Resets the changes, which were made by the brush.
In other words resets the state to the initial one.
| Parameter | Type | Description |
|---|---|---|
| streamWriter | PdfStreamWriter |
The stream writer. |
Returns void