CSJ2K.j2k.image.input.ImgReader.setTile C# (CSharp) 메소드

setTile() 공개 메소드

Changes the current tile, given the new coordinates. An IllegalArgumentException is thrown if the coordinates do not correspond to a valid tile. This default implementation assumes no tiling so the only valid arguments are x=0, y=0.
public setTile ( int x, int y ) : void
x int The horizontal coordinate of the tile. /// ///
y int The vertical coordinate of the new tile. /// ///
리턴 void
        public virtual void setTile(int x, int y)
        {
            if (x != 0 || y != 0)
            {
                throw new System.ArgumentException();
            }
        }