C# Class Cornerstone.MP.ImageSwapper

This class takes two GUIImage objects so that you can treat them as one. When you assign a new image to this object using the Filename property, the currently active image is hidden and the second is made visibile (with the new image file displayed). This allows for animations on image change, such as a fading transition. This class also uses the AsyncImageResource class for asynchronus image loading, dramtically improving GUI performance. It also takes advantage of the Delay feature of the AsyncImageResource to prevent unnecessary loads when rapid image changes are made.
Afficher le fichier Open project: damienhaynes/moving-pictures Class Usage Examples

Méthodes publiques

Méthode Description
ImageSwapper ( ) : System

Private Methods

Méthode Description
imageResource_ImageLoadingComplete ( AsyncImageResource image ) : void

Method Details

ImageSwapper() public méthode

public ImageSwapper ( ) : System
Résultat System