Color.ChannelCount Property

Gets a number of channels available in this color.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public virtual int ChannelCount { get; }

Property Value

The number of channels available in this color.

Remarks

Alpha channel is always available. That's why RGB colors always return 4 (three color channels + alpha channel), grayscale color returns 2 (luminosity channel + alpha channel), etc.

See Also

Reference