extractSubrect abstract method

Future<bool> extractSubrect({
  1. int x = 0,
  2. int y = 0,
  3. required int width,
  4. required int height,
  5. double? fullWidth,
  6. double? fullHeight,
  7. bool backgroundFill = true,
  8. bool allowAntialiasingIOS = true,
})

Extract sub-rectangle (x,y,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. allowAntialiasingIOS specifies whether to allow use of antialiasing on iOS Quartz PDF rendering Returns true if succeeded.

Implementation

Future<bool> extractSubrect({
  int x = 0,
  int y = 0,
  required int width,
  required int height,
  double? fullWidth,
  double? fullHeight,
  bool backgroundFill = true,
  bool allowAntialiasingIOS = true,
});