ImageAnimator 类

定义

动画处理包含基于时间的帧的图像。Animates an image that has time-based frames.

public ref class ImageAnimator sealed
public sealed class ImageAnimator
type ImageAnimator = class
Public NotInheritable Class ImageAnimator
继承
ImageAnimator

方法

Animate(Image, EventHandler)

将多帧图像显示为动画。Displays a multiple-frame image as an animation.

CanAnimate(Image)

返回一个布尔值,该值指示指定图像是否包含基于时间的帧。Returns a Boolean value indicating whether the specified image contains time-based frames.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
StopAnimate(Image, EventHandler)

终止正在运行的动画。Terminates a running animation.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)
UpdateFrames()

使该帧在当前正被动画处理的所有图像中前移。Advances the frame in all images currently being animated. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered.

UpdateFrames(Image)

使帧在指定的图像中前移。Advances the frame in the specified image. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered. 此方法只适用于包含基于时间的帧的图像。This method applies only to images with time-based frames.

适用于