C# 클래스 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.
파일 보기 프로젝트 열기: damienhaynes/moving-pictures 1 사용 예제들

공개 메소드들

메소드 설명
ImageSwapper ( ) : System

비공개 메소드들

메소드 설명
imageResource_ImageLoadingComplete ( AsyncImageResource image ) : void

메소드 상세

ImageSwapper() 공개 메소드

public ImageSwapper ( ) : System
리턴 System