语言

ImageDecoder.ImageInfo.IsAnimated 属性

定义

图像是否为动画。

public virtual bool IsAnimated { [Android.Runtime.Register("isAnimated", "()Z", "GetIsAnimatedHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isAnimated", "()Z", "GetIsAnimatedHandler", ApiSince=28)>]
member this.IsAnimated : bool

属性值

标头信息是否将图像标记为动画。

特性

注解

图像是否为动画。

如果 true, #decodeDrawable decodeDrawable 将返回一个 AnimatedImageDrawable。

Java文档android.graphics.ImageDecoder.ImageInfo.isAnimated()。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于