public Texture ( string filename, IntRect area ) : System | ||
filename | string | Path of the image file to load |
area | IntRect | Area of the image to load |
return | System |
public Texture(string filename, IntRect area) :
base(sfTexture_createFromFile(filename, ref area))
{
if (CPointer == IntPtr.Zero)
throw new LoadingFailedException("texture", filename);
}
Texture::Texture ( Image image ) : System | |
Texture::Texture ( Image image, IntRect area ) : System | |
Texture::Texture ( |
|
Texture::Texture ( Stream stream ) : System | |
Texture::Texture ( Stream stream, IntRect area ) : System | |
Texture::Texture ( |
|
Texture::Texture ( byte bytes ) : System | |
Texture::Texture ( string filename ) : System | |
Texture::Texture ( uint width, uint height ) : System |