C# Class Universe.Modules.Terrain.FileLoaders.BMP

A generic windows bitmap loader. Should be capable of handling 24-bit RGB images. Uses the System.Drawing filesystem loader.
Inheritance: GenericSystemDrawing
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
SaveFile ( string filename, ITerrainChannel map ) : void

Exports a file to a image on the disk using a System.Drawing exporter.

SaveStream ( Stream stream, ITerrainChannel map ) : void

Exports a stream using a System.Drawing exporter.

ToString ( ) : string

The human readable version of the file format(s) this loader handles

Method Details

SaveFile() public méthode

Exports a file to a image on the disk using a System.Drawing exporter.
public SaveFile ( string filename, ITerrainChannel map ) : void
filename string The target filename
map ITerrainChannel The terrain channel being saved
Résultat void

SaveStream() public méthode

Exports a stream using a System.Drawing exporter.
public SaveStream ( Stream stream, ITerrainChannel map ) : void
stream System.IO.Stream The target stream
map ITerrainChannel The terrain channel being saved
Résultat void

ToString() public méthode

The human readable version of the file format(s) this loader handles
public ToString ( ) : string
Résultat string