CSJ2K.j2k.image.Tiler.nextTile C# (CSharp) Метод

nextTile() публичный Метод

Advances to the next tile, in standard scan-line order (by rows then columns). An NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile).
public nextTile ( ) : void
Результат void
        public override void nextTile()
        {
            if (tx == ntX - 1 && ty == ntY - 1)
            {
                // Already at last tile
                throw new NoNextElementException();
            }
            else if (tx < ntX - 1)
            {
                // If not at end of current tile line
                setTile(tx + 1, ty);
            }
            else
            {
                // First tile at next line
                setTile(0, ty + 1);
            }
        }