CGBitmapContext.BitsPerComponent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.