setDart method

  1. @override
ImageD setDart(
  1. ImageD o
)
override

Copies the fields of o into this instance.

Implementation

@override
ImageD setDart(ImageD o) {
  width = o.width;
  height = o.height;
  mipmaps = o.mipmaps;
  format = o.format;
  data.copyBytesFrom(o.data, o.dataLength);
  return this;
}