PdfPatternPainter Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf
iTextSharp.text.pdf.PdfPatternPainter[[PdfPatternPainter]]
iTextSharp.text.pdf.PdfTemplate[[PdfTemplate]]
end
iTextSharp.text.pdf.PdfTemplate --> iTextSharp.text.pdf.PdfPatternPainter
Members
Properties
Public properties
Methods
Public methods
| Returns | Name |
|---|
void | AddImage(Image image, float a, float b, float c, float d, float e, float f) |
PdfPattern | GetPattern(...) |
bool | IsStencil() |
void | ResetCMYKColorFill() |
void | ResetCMYKColorStroke() |
void | ResetGrayFill() |
void | ResetGrayStroke() |
void | ResetRGBColorFill() |
void | ResetRGBColorStroke() |
void | SetCMYKColorFill(int cyan, int magenta, int yellow, int black) |
void | SetCMYKColorFillF(float cyan, float magenta, float yellow, float black) |
void | SetCMYKColorStroke(int cyan, int magenta, int yellow, int black) |
void | SetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black) |
void | SetColorFill(...) |
void | SetColorStroke(...) |
void | SetGrayFill(float gray) |
void | SetGrayStroke(float gray) |
void | SetPatternFill(...) |
void | SetPatternMatrix(float a, float b, float c, float d, float e, float f) |
void | SetPatternStroke(...) |
void | SetRGBColorFill(int red, int green, int blue) |
void | SetRGBColorFillF(float red, float green, float blue) |
void | SetRGBColorStroke(int red, int green, int blue) |
void | SetRGBColorStrokeF(float red, float green, float blue) |
Internal methods
Details
Inheritance
Constructors
PdfPatternPainter [1/2]
Source code
internal PdfPatternPainter(PdfWriter wr)
Arguments
PdfPatternPainter [2/2]
Source code
internal PdfPatternPainter(PdfWriter wr, BaseColor defaultColor)
Arguments
Methods
IsStencil
Source code
public bool IsStencil()
SetPatternMatrix
Source code
public void SetPatternMatrix(float a, float b, float c, float d, float e, float f)
Arguments
| Type | Name | Description |
|---|
float | a | |
float | b | |
float | c | |
float | d | |
float | e | |
float | f | |
GetPattern [1/2]
Source code
public PdfPattern GetPattern()
GetPattern [2/2]
Source code
public PdfPattern GetPattern(int compressionLevel)
Arguments
| Type | Name | Description |
|---|
int | compressionLevel | |
SetGrayFill
Source code
public override void SetGrayFill(float gray)
Arguments
| Type | Name | Description |
|---|
float | gray | |
ResetGrayFill
Source code
public override void ResetGrayFill()
SetGrayStroke
Source code
public override void SetGrayStroke(float gray)
Arguments
| Type | Name | Description |
|---|
float | gray | |
ResetGrayStroke
Source code
public override void ResetGrayStroke()
SetRGBColorFillF
Source code
public override void SetRGBColorFillF(float red, float green, float blue)
Arguments
| Type | Name | Description |
|---|
float | red | |
float | green | |
float | blue | |
ResetRGBColorFill
Source code
public override void ResetRGBColorFill()
SetRGBColorStrokeF
Source code
public override void SetRGBColorStrokeF(float red, float green, float blue)
Arguments
| Type | Name | Description |
|---|
float | red | |
float | green | |
float | blue | |
ResetRGBColorStroke
Source code
public override void ResetRGBColorStroke()
SetCMYKColorFillF
Source code
public override void SetCMYKColorFillF(float cyan, float magenta, float yellow, float black)
Arguments
| Type | Name | Description |
|---|
float | cyan | |
float | magenta | |
float | yellow | |
float | black | |
ResetCMYKColorFill
Source code
public override void ResetCMYKColorFill()
SetCMYKColorStrokeF
Source code
public override void SetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)
Arguments
| Type | Name | Description |
|---|
float | cyan | |
float | magenta | |
float | yellow | |
float | black | |
ResetCMYKColorStroke
Source code
public override void ResetCMYKColorStroke()
AddImage
Source code
public override void AddImage(Image image, float a, float b, float c, float d, float e, float f)
Arguments
| Type | Name | Description |
|---|
Image | image | |
float | a | |
float | b | |
float | c | |
float | d | |
float | e | |
float | f | |
SetCMYKColorFill
Source code
public override void SetCMYKColorFill(int cyan, int magenta, int yellow, int black)
Arguments
| Type | Name | Description |
|---|
int | cyan | |
int | magenta | |
int | yellow | |
int | black | |
SetCMYKColorStroke
Source code
public override void SetCMYKColorStroke(int cyan, int magenta, int yellow, int black)
Arguments
| Type | Name | Description |
|---|
int | cyan | |
int | magenta | |
int | yellow | |
int | black | |
SetRGBColorFill
Source code
public override void SetRGBColorFill(int red, int green, int blue)
Arguments
| Type | Name | Description |
|---|
int | red | |
int | green | |
int | blue | |
SetRGBColorStroke
Source code
public override void SetRGBColorStroke(int red, int green, int blue)
Arguments
| Type | Name | Description |
|---|
int | red | |
int | green | |
int | blue | |
SetColorStroke [1/2]
Source code
public override void SetColorStroke(BaseColor color)
Arguments
SetColorFill [1/2]
Source code
public override void SetColorFill(BaseColor color)
Arguments
SetColorFill [2/2]
Source code
public override void SetColorFill(PdfSpotColor sp, float tint)
Arguments
SetColorStroke [2/2]
Source code
public override void SetColorStroke(PdfSpotColor sp, float tint)
Arguments
SetPatternFill [1/2]
Source code
public override void SetPatternFill(PdfPatternPainter p)
Arguments
SetPatternFill [2/2]
Source code
public override void SetPatternFill(PdfPatternPainter p, BaseColor color, float tint)
Arguments
SetPatternStroke [1/2]
Source code
public override void SetPatternStroke(PdfPatternPainter p, BaseColor color, float tint)
Arguments
SetPatternStroke [2/2]
Source code
public override void SetPatternStroke(PdfPatternPainter p)
Arguments
CheckNoColor
Source code
internal void CheckNoColor()
Properties
XStep
public float XStep { get; set; }
YStep
public float YStep { get; set; }
Duplicate
public override PdfContentByte Duplicate { get; }
DefaultColor
public BaseColor DefaultColor { get; }
Generated with ModularDoc