PdfShading constructor
PdfShading(
- PdfDocument pdfDocument, {
- required PdfShadingType shadingType,
- required PdfBaseFunction function,
- required PdfPoint start,
- required PdfPoint end,
- double? radius0,
- double? radius1,
- PdfRect? boundingBox,
- bool extendStart = false,
- bool extendEnd = false,
Implementation
PdfShading(
PdfDocument pdfDocument, {
required this.shadingType,
required this.function,
required this.start,
required this.end,
this.radius0,
this.radius1,
this.boundingBox,
this.extendStart = false,
this.extendEnd = false,
}) : super(pdfDocument, params: PdfDict());