PdfPageImage class Null safety

Constructors

PdfPageImage({required int pageNumber, required int x, required int y, required int width, required int height, required double fullWidth, required double fullHeight, required double pageWidth, required double pageHeight})

Properties

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

Methods

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

Operators

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