How can I help you?
PdfTilingBrush
6 Feb 20262 minutes to read
PdfTilingBrush Implements a colored tiling brush.
Properties
Get element IPdfPrimitive
Gets the element.
Get graphics PdfGraphics
Gets Graphics context of the brush.
Get location PointF
Location representing the start position of the tiles.
Set location void
Location representing the start position of the tiles.
Parameters: value: PointF
Get rectangle Rectangle
Gets the boundary box of the smallest brush cell.
Get size SizeF
Gets the size of the smallest brush cell.
Get stroking boolean
Gets or sets a value indicating whether this PdfTilingBrush
is used for stroking operations.
Set stroking void
Gets or sets a value indicating whether this PdfTilingBrush
is used for stroking operations.
Parameters: value: boolean
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