updateRect abstract method

Future<bool> updateRect({
  1. int destX = 0,
  2. int destY = 0,
  3. int? width,
  4. int? height,
  5. int srcX = 0,
  6. int srcY = 0,
  7. int? texWidth,
  8. int? texHeight,
  9. double? fullWidth,
  10. double? fullHeight,
  11. bool backgroundFill = true,
})

Update texture's sub-rectangle (destX,destY,width,height) with the sub-rectangle (srcX,srcY,width,height) of the PDF page scaled to fullWidth x fullHeight size. If backgroundFill is true, the sub-rectangle is filled with white before rendering the page content. The method can also resize the texture if you specify texWidth and texHeight. Returns true if succeeded.

Implementation

Future<bool> updateRect({int destX = 0, int destY = 0, int? width, int? height, int srcX = 0, int srcY = 0, int? texWidth, int? texHeight, double? fullWidth, double? fullHeight, bool backgroundFill = true});