TypedValue.IsColorType Property

Definition

Determine if a value is a color.

public virtual bool IsColorType { [Android.Runtime.Register("isColorType", "()Z", "GetIsColorTypeHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isColorType", "()Z", "GetIsColorTypeHandler", ApiSince=29)>]
member this.IsColorType : bool

Property Value

true if this value is a color

Attributes

Remarks

Determine if a value is a color.

This works by comparing #type to #TYPE_FIRST_COLOR_INT and #TYPE_LAST_COLOR_INT.

Java documentation for android.util.TypedValue.isColorType().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to