Share via


ColorObject.ComponentCount Property

Definition

Returns the number of components that form a color value according to this color space's color model, plus one extra component for alpha.

public virtual int ComponentCount { [Android.Runtime.Register("getComponentCount", "()I", "GetGetComponentCountHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getComponentCount", "()I", "GetGetComponentCountHandler", ApiSince=26)>]
member this.ComponentCount : int

Property Value

The integer 4 or 5

Attributes

Remarks

Returns the number of components that form a color value according to this color space's color model, plus one extra component for alpha.

Java documentation for android.graphics.Color.getComponentCount().

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