PdfPageImageTextureMethodChannel class
Very limited support for Flutter's Texture based drawing. Because it does not transfer the rendered image via platform channel, it could be faster and more efficient than the PdfPageImage based rendrering process.
- Inheritance
-
- Object
- PdfPageImageTexture
- PdfPageImageTextureMethodChannel
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasUpdatedTexture → bool
-
no setteroverride
- pageNumber → int
-
finalinherited
- pdfDocument → PdfDocument
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- texHeight → int?
-
no setteroverride
- texId → int
-
finalinherited
- texWidth → int?
-
no setteroverride
Methods
-
dispose(
) → Future< void> -
Release the object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
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}) → Future< bool> -
Update texture's sub-rectangle (
destX
,destY
,width
,height
) with the sub-rectangle (srcX
,srcY
,width
,height
) of the PDF page scaled tofullWidth
xfullHeight
size. IfbackgroundFill
is true, the sub-rectangle is filled with white before rendering the page content. The method can also resize the texture if you specifytexWidth
andtexHeight
. Returns true if succeeded.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override