CGBitmapContext.BitsPerComponent 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每个组件的位数
public nint BitsPerComponent { get; }
member this.BitsPerComponent : nint
属性值
System.System.IntPtr
System.nativeint
获取对象的每个组件的 this
CGBitmapContext 位数,如果对象不是位图上下文,则 this
为 0。
注解
内存中像素的每个组件使用的位数。 例如,使用 32 位 RGBA 缓冲区时,此值为 8。