Detailed Description

Manages all current image formats.

Static Public Member Functions

static void Setup ()
 Sets up all available image formats. Called internally by UI.Setup. More...
 
static void Add (ImageFormat format)
 Adds the given image format to the global set for use. Note that you do not need to call this manually; Just deriving from ImageFormat is all that is required. More...
 
static ImageFormat Get (string type)
 Gets a format by the given file type. More...
 

Static Public Attributes

static string UnrecognisedImageHandler ="pict"
 The "picture" format (jpeg, png etc) is the default handler. More...
 
static Dictionary< string,
ImageFormat
Formats
 The set of available formats. Use get to access. More...
 

Member Function Documentation

static void PowerUI.ImageFormats.Add ( ImageFormat  format)
inlinestatic

Adds the given image format to the global set for use. Note that you do not need to call this manually; Just deriving from ImageFormat is all that is required.

Parameters
formatThe new format to add.
static ImageFormat PowerUI.ImageFormats.Get ( string  type)
inlinestatic

Gets a format by the given file type.

Parameters
typeThe name of the format, e.g. "png".
Returns
An ImageFormat if found; null otherwise.
static void PowerUI.ImageFormats.Setup ( )
inlinestatic

Sets up all available image formats. Called internally by UI.Setup.

Member Data Documentation

Dictionary<string,ImageFormat> PowerUI.ImageFormats.Formats
static

The set of available formats. Use get to access.

string PowerUI.ImageFormats.UnrecognisedImageHandler ="pict"
static

The "picture" format (jpeg, png etc) is the default handler.