PictureRasterizationException class

An exception thrown by Canvas.drawImage and related methods when drawing an Image created via Picture.toImageSync that is in an invalid state.

This exception may be thrown if the requested image dimensions exceeded the maximum 2D texture size allowed by the GPU, or if no GPU surface or context was available for rasterization at request time.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A string containing details about the failure.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack StackTrace?
If available, the stack trace at the time Picture.toImageSync was called.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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