TypedValue.IsColorType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.