PdfRaster class
Represents a bitmap image
Constructors
- PdfRaster.new(int width, int height, Uint8List pixels)
- Create a bitmap image
Properties
- alpha → bool
-
The alpha channel is used
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The height of the image
finalinherited
- pixels → Uint8List
-
The raw RGBA pixels of the image
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
The width of the image
finalinherited
Methods
-
asImage(
) → Image -
Returns the image as an
Image
object from the pub:image libraryinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toImage(
) → Future< Image> - Decode RGBA raw image to dart:ui Image
-
toPng(
) → Future< Uint8List> - Convert to a PNG image
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited