Edytuj

Udostępnij za pośrednictwem


CGBitmapContext.BitsPerComponent Property

Definition

Number of bits per component for

public nint BitsPerComponent { get; }
member this.BitsPerComponent : nint

Property Value

System.System.IntPtr System.nativeint

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.

Applies to