语言

GradientDrawable.Color 属性

定义

返回用于填充形状的颜色状态列表,或者 null 该形状是用渐变填充的,或者没有填充颜色。

public virtual Android.Content.Res.ColorStateList? Color { [Android.Runtime.Register("getColor", "()Landroid/content/res/ColorStateList;", "GetGetColorHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getColor", "()Landroid/content/res/ColorStateList;", "GetGetColorHandler", ApiSince=24)>]
member this.Color : Android.Content.Res.ColorStateList

属性值

用于填充此渐变的颜色状态列表,或 null

特性

注解

返回用于填充形状的颜色状态列表,或者 null 该形状是用渐变填充的,或者没有填充颜色。

Java文档android.graphics.drawable.GradientDrawable.getColor()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于