getRectUnsafe method
- Rect rect
inherited
Returns a lazy iterable of pixels in the rectangle defined by rect.
The returned iterable will contain all pixels in the buffer that are
within the rectangle defined by rect.
The provided rectangle must be contained within the bounds of the buffer or the behavior is undefined.
Implementation
@override
Iterable<T> getRectUnsafe(Rect rect) {
return lodim.getRectLinear(data, width: width, bounds: rect);
}