C# Класс BrightIdeasSoftware.ImageRenderer.AnimationState

Instances of this class kept track of the animation state of a single image.
Показать файл Открыть проект

Открытые методы

Метод Описание
AdvanceFrame ( long millisecondsNow ) : void

Advance our images current frame and calculate when it will expire

AnimationState ( ) : System

Create an AnimationState in a quiet state

AnimationState ( Image image ) : System

Create an animation state for the given image, which may or may not be an animation

IsAnimation ( Image image ) : bool

Is the given image an animation

Описание методов

AdvanceFrame() публичный Метод

Advance our images current frame and calculate when it will expire
public AdvanceFrame ( long millisecondsNow ) : void
millisecondsNow long
Результат void

AnimationState() публичный Метод

Create an AnimationState in a quiet state
public AnimationState ( ) : System
Результат System

AnimationState() публичный Метод

Create an animation state for the given image, which may or may not be an animation
public AnimationState ( Image image ) : System
image Image The image to be rendered
Результат System

IsAnimation() публичный статический Метод

Is the given image an animation
public static IsAnimation ( Image image ) : bool
image Image The image to be tested
Результат bool