C# Class ThoNohT.NohBoard.Extra.ImageCache

A cache for images.
Afficher le fichier Open project: ThoNohT/NohBoard

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Get ( string filename ) : Image

Loads the image for the specified filename, in the currently loaded style. If the image exists in cache, it is returned from there, otherwise the file is opened and stored in the cache.

Method Details

Get() public static méthode

Loads the image for the specified filename, in the currently loaded style. If the image exists in cache, it is returned from there, otherwise the file is opened and stored in the cache.
public static Get ( string filename ) : Image
filename string The filename of the image to load.
Résultat System.Drawing.Image