PdfShading constructor

PdfShading(
  1. PdfDocument pdfDocument, {
  2. required PdfShadingType shadingType,
  3. required PdfBaseFunction function,
  4. required PdfPoint start,
  5. required PdfPoint end,
  6. double? radius0,
  7. double? radius1,
  8. PdfRect? boundingBox,
  9. bool extendStart = false,
  10. 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());