extractSubrect abstract method
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,
});