PowerUI.ImageFormat Class Reference

Detailed Description

Represents a specific type of image format, e.g. a video or an SVG.

Inheritance diagram for PowerUI.ImageFormat:
PowerUI.DynamicFormat PowerUI.PictureFormat PowerUI.SpaFormat PowerUI.VideoFormat

Public Member Functions

virtual string[] GetNames ()
 The set of lowercase file types that this format will handle. More...
 
virtual void Clear ()
 Resets this image format container. More...
 
virtual void GoingOnDisplay ()
 Called when this image is going to be displayed. More...
 
virtual void GoingOffDisplay ()
 Called when this image is going to stop being displayed. More...
 
virtual bool DrawToAtlas (TextureAtlas atlas, AtlasLocation location)
 Draws this image to the given atlas. More...
 

Properties

virtual int Height [get]
 The height of the image. More...
 
virtual int Width [get]
 The width of the image. More...
 
virtual Material ImageMaterial [get]
 A single-frame image material. Used for e.g. videos and animations. More...
 

Member Function Documentation

virtual void PowerUI.ImageFormat.Clear ( )
inlinevirtual

Resets this image format container.

Reimplemented in PowerUI.SpaFormat, and PowerUI.DynamicFormat.

virtual bool PowerUI.ImageFormat.DrawToAtlas ( TextureAtlas  atlas,
AtlasLocation  location 
)
inlinevirtual

Draws this image to the given atlas.

Reimplemented in PowerUI.PictureFormat.

virtual string [] PowerUI.ImageFormat.GetNames ( )
inlinevirtual

The set of lowercase file types that this format will handle.

Reimplemented in PowerUI.VideoFormat, PowerUI.PictureFormat, and PowerUI.SpaFormat.

virtual void PowerUI.ImageFormat.GoingOffDisplay ( )
inlinevirtual

Called when this image is going to stop being displayed.

Reimplemented in PowerUI.SpaFormat.

virtual void PowerUI.ImageFormat.GoingOnDisplay ( )
inlinevirtual

Called when this image is going to be displayed.

Reimplemented in PowerUI.SpaFormat.

Property Documentation

virtual int PowerUI.ImageFormat.Height
get

The height of the image.

virtual Material PowerUI.ImageFormat.ImageMaterial
get

A single-frame image material. Used for e.g. videos and animations.

virtual int PowerUI.ImageFormat.Width
get

The width of the image.