Partager via


ColorSpace.ComponentCount Property

Definition

Returns the number of components that form a color value according to this color space's color model.

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

An integer between 1 and 4

Attributes

Remarks

Returns the number of components that form a color value according to this color space's color model.

Java documentation for android.graphics.ColorSpace.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