iOS Guides | Samples

CoreGraphics.CGBitmapContext.BitsPerComponent Property

Number of bits per component for

Syntax

public nint BitsPerComponent { get; }

Value

Gets the number of bits per component for this CGBitmapContext object, or 0 if this object is not a bitmap context.

Remarks

The number of bits used by each component of a pixel in memory.  For example, when using 32-bit RGBA buffers the value for this would be an 8.

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0