# The ImagickPixelIterator class

(PECL imagick 2.0.0)

## Class synopsis

ImagickPixelIterator {
clear ( ) : bool
__construct ( Imagick `$wand` )
destroy ( ) : bool
getCurrentIteratorRow ( ) : array
getIteratorRow ( ) : int
getNextIteratorRow ( ) : array
getPreviousIteratorRow ( ) : array
newPixelIterator ( Imagick `$wand` ) : bool
newPixelRegionIterator ( Imagick `$wand` , int `$x` , int `$y` , int `$columns` , int `$rows` ) : bool
resetIterator ( ) : bool
setIteratorFirstRow ( ) : bool
setIteratorLastRow ( ) : bool
setIteratorRow ( int `$row` ) : bool
syncIterator ( ) : bool
}

## Table of Contents

- ImagickPixelIterator::clear — Clear resources associated with a PixelIterator
- ImagickPixelIterator::__construct — The ImagickPixelIterator constructor
- ImagickPixelIterator::destroy — Deallocates resources associated with a PixelIterator
- ImagickPixelIterator::getCurrentIteratorRow — Returns the current row of ImagickPixel objects
- ImagickPixelIterator::getIteratorRow — Returns the current pixel iterator row
- ImagickPixelIterator::getNextIteratorRow — Returns the next row of the pixel iterator
- ImagickPixelIterator::getPreviousIteratorRow — Returns the previous row
- ImagickPixelIterator::newPixelIterator — Returns a new pixel iterator
- ImagickPixelIterator::newPixelRegionIterator — Returns a new pixel iterator
- ImagickPixelIterator::resetIterator — Resets the pixel iterator
- ImagickPixelIterator::setIteratorFirstRow — Sets the pixel iterator to the first pixel row
- ImagickPixelIterator::setIteratorLastRow — Sets the pixel iterator to the last pixel row
- ImagickPixelIterator::setIteratorRow — Set the pixel iterator row
- ImagickPixelIterator::syncIterator — Syncs the pixel iterator