Dart DocumentationthreeImageList

ImageList class

@author mr.doob / http://mrdoob.com/ @author alteredq / http://alteredqualia.com/ @author szimek / https://github.com/szimek/

Ported to Dart from JS by: @author rob silverton / http://www.unwrong.com/

class ImageList {
 int loadCount;
 List<ImageElement> _images;
 Map<String,dynamic> props;

 ImageList(size): props = {},_images = new List<ImageElement>(size);

 ImageElement operator [](int index) => _images[index];
 void operator []=(int index, ImageElement img) { _images[index] = img; }
 int get length => _images.length;
 List<ImageElement> getRange(int start, int length) => _images.getRange(start, length);

}

Constructors

new ImageList(size) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ImageList(size): props = {},_images = new List<ImageElement>(size);

Properties

final int length #

int get length => _images.length;

int loadCount #

int loadCount

Map<String, dynamic> props #

Map<String,dynamic> props

Operators

ImageElement operator [](int index) #

ImageElement operator [](int index) => _images[index];

void operator []=(int index, ImageElement img) #

void operator []=(int index, ImageElement img) { _images[index] = img; }

Methods

List<ImageElement> getRange(int start, int length) #

List<ImageElement> getRange(int start, int length) => _images.getRange(start, length);