Opaque handle to raw decoded image data (pixels).

To obtain an Image object, use decodeImageFromList.

To draw an Image, use one of the methods on the Canvas class, such as drawImage.

Constructors

Image()

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
height int

The number of image pixels along the image's vertical axis.

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
width int

The number of image pixels along the image's horizontal axis.

read-only

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

dispose() → void

Release the resources used by this object. The object is no longer usable after this method is called.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.