SFML.Graphics.Image.Image C# (CSharp) Method

Image() public method

Construct the image from a file
public Image ( string filename ) : System
filename string Path of the image file to load
return System
        public Image(string filename) :
            base(sfImage_createFromFile(filename))
        {
            if (CPointer == IntPtr.Zero)
                throw new LoadingFailedException("image", filename);
        }

Same methods

Image::Image ( System.Color pixels ) : System
Image::Image ( Image copy ) : System
Image::Image ( IntPtr cPointer ) : System
Image::Image ( System.Stream stream ) : System
Image::Image ( byte bytes ) : System
Image::Image ( uint width, uint height ) : System
Image::Image ( uint width, uint height, System.Color color ) : System
Image::Image ( uint width, uint height, byte pixels ) : System