다음을 통해 공유


CGBitmapContext.BitsPerComponent 속성

정의

에 대한 구성 요소당 비트 수

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

속성 값

System.System.IntPtr System.nativeint

개체의 구성 요소 thisCGBitmapContext 당 비트 수를 가져오거나 개체가 비트맵 컨텍스트가 아닌 경우 this 0을 가져옵니다.

설명

메모리에 있는 픽셀의 각 구성 요소에서 사용하는 비트 수입니다.  예를 들어 32비트 RGBA 버퍼를 사용하는 경우 이 값은 8입니다.

적용 대상