updateRect abstract method
Update texture's sub-rectangle
(destinationX,destinationY,width,height) with
the sub-rectangle (sourceX,sourceY,width,height) of the PDF page
scaled to fullWidth x fullHeight size.
The method can also resize the texture if you
specify textureWidth and textureHeight.
Returns true if succeeded.
Implementation
Future<bool> updateRect({
required String documentId,
int destinationX = 0,
int destinationY = 0,
int? width,
int? height,
int sourceX = 0,
int sourceY = 0,
int? textureWidth,
int? textureHeight,
double? fullWidth,
double? fullHeight,
String? backgroundColor,
bool allowAntiAliasing = true,
});