C# 클래스 PdfRpt.Core.Helper.GradientBackground

Draws a rectangular gradient background color.
파일 보기 프로젝트 열기: VahidN/PdfReport

공개 메소드들

메소드 설명
ApplyGradientBackground ( RowType pdfRowType, PdfRpt.Core.Contracts.CellSharedData sharedData, Rectangle position, PdfContentByte canvases ) : void

Draws a rectangular gradient background color.

DrawGradientBackground ( this position, PdfContentByte canvases, BaseColor startColor, BaseColor endColor ) : void

Draws a rectangular gradient background color.

메소드 상세

ApplyGradientBackground() 공개 정적인 메소드

Draws a rectangular gradient background color.
public static ApplyGradientBackground ( RowType pdfRowType, PdfRpt.Core.Contracts.CellSharedData sharedData, Rectangle position, PdfContentByte canvases ) : void
pdfRowType RowType Main table's row types
sharedData PdfRpt.Core.Contracts.CellSharedData PdfCells Shared Data
position iTextSharp.text.Rectangle The coordinates of the cell
canvases iTextSharp.text.pdf.PdfContentByte An array of PdfContentByte to add text or graphics
리턴 void

DrawGradientBackground() 공개 정적인 메소드

Draws a rectangular gradient background color.
public static DrawGradientBackground ( this position, PdfContentByte canvases, BaseColor startColor, BaseColor endColor ) : void
position this The coordinates of the cell
canvases iTextSharp.text.pdf.PdfContentByte An array of PdfContentByte to add text or graphics
startColor iTextSharp.text.BaseColor Gradient's Start Color
endColor iTextSharp.text.BaseColor Gradient's End Color
리턴 void