AmaroK86.ImageFormat.ImageSize.ImageSize C# (CSharp) Метод

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

public ImageSize ( uint width, uint height ) : System
width uint
height uint
Результат System
        public ImageSize(uint width, uint height)
        {
            if (!checkIsPower2(width))
                new FormatException("Invalid width value, must be power of 2");
            if (!checkIsPower2(width))
                new FormatException("Invalid height value, must be power of 2");
            if (width == 0)
                width = 1;
            if (height == 0)
                height = 1;
            this.width = width;
            this.height = height;
        }