PdfPageImageMethodChannel class

Inheritance

Properties

buffer Pointer<Uint8>?
Pointer to the inernal RGBA image buffer if available; the size is calculated by width*height*4.
no setteroverride
fullHeight double
Full height of the rendered page image in pixels.
finalinherited
fullWidth double
Full width of the rendered page image in pixels.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height int
Height of the rendered area in pixels.
finalinherited
imageIfAvailable Image?
Get Image for the object if available; otherwise null. If you want to ensure that the Image is available, call createImageIfNotAvailable.
no setteroverride
pageHeight double
PDF page height in points (height in pixels at 72 dpi).
finalinherited
pageNumber int
Page number. The first page is 1.
finalinherited
pageWidth double
PDF page width in points (width in pixels at 72 dpi).
finalinherited
pixels Uint8List
RGBA pixels in byte array.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Width of the rendered area in pixels.
finalinherited
x int
Left X coordinate of the rendered area in pixels.
finalinherited
y int
Top Y coordinate of the rendered area in pixels.
finalinherited

Methods

createImageDetached() Future<Image>
override
createImageIfNotAvailable() Future<Image?>
Create cached Image for the page.
override
dispose() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

render(String filePath, int pageNumber, {int? x, int? y, int? width, int? height, double? fullWidth, double? fullHeight}) Future<PdfPageImage?>
override