PdfPageImage class abstract

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.
no setter
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.
no setterinherited
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.
no setter
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.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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 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