T
- Generic type of IImageLinepublic interface IImageLineSetFactory<T extends IImageLine>
IImageLineSet
, used by PngReader
.
Modifier and Type | Method and Description |
---|---|
IImageLineSet<T> |
create(ImageInfo imgInfo,
boolean singleCursor,
int nlines,
int noffset,
int step)
Creates a new
IImageLineSet
If singleCursor=true, the caller will read and write one row fully at a time, in order (it'll never try to read out
of order lines), so the implementation can opt for allocate only one line. |
IImageLineSet<T> create(ImageInfo imgInfo, boolean singleCursor, int nlines, int noffset, int step)
IImageLineSet
If singleCursor=true, the caller will read and write one row fully at a time, in order (it'll never try to read out
of order lines), so the implementation can opt for allocate only one line.imgInfo
- Image infosingleCursor
- : will read/write one row at a timenlines
- : how many lines we plan to readnoffset
- : how many lines we want to skip from the original image (normally 0)step
- : row step (normally 1)Copyright © 2014. All rights reserved.