Skip to main content
Skip table of contents

PdfPatternPainter

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
TypeNameMethods
BaseColorDefaultColorget
PdfContentByteDuplicateget
floatXStepget, set
floatYStepget, set

Methods

Public methods
ReturnsName
voidAddImage(Image image, float a, float b, float c, float d, float e, float f)
PdfPatternGetPattern(...)
boolIsStencil()
voidResetCMYKColorFill()
voidResetCMYKColorStroke()
voidResetGrayFill()
voidResetGrayStroke()
voidResetRGBColorFill()
voidResetRGBColorStroke()
voidSetCMYKColorFill(int cyan, int magenta, int yellow, int black)
voidSetCMYKColorFillF(float cyan, float magenta, float yellow, float black)
voidSetCMYKColorStroke(int cyan, int magenta, int yellow, int black)
voidSetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)
voidSetColorFill(...)
voidSetColorStroke(...)
voidSetGrayFill(float gray)
voidSetGrayStroke(float gray)
voidSetPatternFill(...)
voidSetPatternMatrix(float a, float b, float c, float d, float e, float f)
voidSetPatternStroke(...)
voidSetRGBColorFill(int red, int green, int blue)
voidSetRGBColorFillF(float red, float green, float blue)
voidSetRGBColorStroke(int red, int green, int blue)
voidSetRGBColorStrokeF(float red, float green, float blue)
Internal methods
ReturnsName
voidCheckNoColor()

Details

Inheritance

Constructors

PdfPatternPainter [1/2]

Source code

internal PdfPatternPainter(PdfWriter wr)
Arguments
TypeNameDescription
PdfWriterwr
PdfPatternPainter [2/2]

Source code

internal PdfPatternPainter(PdfWriter wr, BaseColor defaultColor)
Arguments
TypeNameDescription
PdfWriterwr
BaseColordefaultColor

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
TypeNameDescription
floata
floatb
floatc
floatd
floate
floatf
GetPattern [1/2]

Source code

public PdfPattern GetPattern()
GetPattern [2/2]

Source code

public PdfPattern GetPattern(int compressionLevel)
Arguments
TypeNameDescription
intcompressionLevel
SetGrayFill

Source code

public override void SetGrayFill(float gray)
Arguments
TypeNameDescription
floatgray
ResetGrayFill

Source code

public override void ResetGrayFill()
SetGrayStroke

Source code

public override void SetGrayStroke(float gray)
Arguments
TypeNameDescription
floatgray
ResetGrayStroke

Source code

public override void ResetGrayStroke()
SetRGBColorFillF

Source code

public override void SetRGBColorFillF(float red, float green, float blue)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
ResetRGBColorFill

Source code

public override void ResetRGBColorFill()
SetRGBColorStrokeF

Source code

public override void SetRGBColorStrokeF(float red, float green, float blue)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
ResetRGBColorStroke

Source code

public override void ResetRGBColorStroke()
SetCMYKColorFillF

Source code

public override void SetCMYKColorFillF(float cyan, float magenta, float yellow, float black)
Arguments
TypeNameDescription
floatcyan
floatmagenta
floatyellow
floatblack
ResetCMYKColorFill

Source code

public override void ResetCMYKColorFill()
SetCMYKColorStrokeF

Source code

public override void SetCMYKColorStrokeF(float cyan, float magenta, float yellow, float black)
Arguments
TypeNameDescription
floatcyan
floatmagenta
floatyellow
floatblack
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
TypeNameDescription
Imageimage
floata
floatb
floatc
floatd
floate
floatf
SetCMYKColorFill

Source code

public override void SetCMYKColorFill(int cyan, int magenta, int yellow, int black)
Arguments
TypeNameDescription
intcyan
intmagenta
intyellow
intblack
SetCMYKColorStroke

Source code

public override void SetCMYKColorStroke(int cyan, int magenta, int yellow, int black)
Arguments
TypeNameDescription
intcyan
intmagenta
intyellow
intblack
SetRGBColorFill

Source code

public override void SetRGBColorFill(int red, int green, int blue)
Arguments
TypeNameDescription
intred
intgreen
intblue
SetRGBColorStroke

Source code

public override void SetRGBColorStroke(int red, int green, int blue)
Arguments
TypeNameDescription
intred
intgreen
intblue
SetColorStroke [1/2]

Source code

public override void SetColorStroke(BaseColor color)
Arguments
TypeNameDescription
BaseColorcolor
SetColorFill [1/2]

Source code

public override void SetColorFill(BaseColor color)
Arguments
TypeNameDescription
BaseColorcolor
SetColorFill [2/2]

Source code

public override void SetColorFill(PdfSpotColor sp, float tint)
Arguments
TypeNameDescription
PdfSpotColorsp
floattint
SetColorStroke [2/2]

Source code

public override void SetColorStroke(PdfSpotColor sp, float tint)
Arguments
TypeNameDescription
PdfSpotColorsp
floattint
SetPatternFill [1/2]

Source code

public override void SetPatternFill(PdfPatternPainter p)
Arguments
TypeNameDescription
PdfPatternPainterp
SetPatternFill [2/2]

Source code

public override void SetPatternFill(PdfPatternPainter p, BaseColor color, float tint)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
floattint
SetPatternStroke [1/2]

Source code

public override void SetPatternStroke(PdfPatternPainter p, BaseColor color, float tint)
Arguments
TypeNameDescription
PdfPatternPainterp
BaseColorcolor
floattint
SetPatternStroke [2/2]

Source code

public override void SetPatternStroke(PdfPatternPainter p)
Arguments
TypeNameDescription
PdfPatternPainterp
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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.