bitmapInfo
TypeScriptget bitmapInfo(): _CoreGraphics_CGBitmapInfoSwift declarationvar bitmapInfo: CGBitmapInfostruct · SDK 27.1
struct vImage_CGImageFormatget bitmapInfo(): _CoreGraphics_CGBitmapInfoSwift declarationvar bitmapInfo: CGBitmapInfoset bitmapInfo(value: _CoreGraphics_CGBitmapInfo)Swift declarationvar bitmapInfo: CGBitmapInfoget bitsPerComponent(): numberSwift declarationvar bitsPerComponent: UInt32set bitsPerComponent(value: number)Swift declarationvar bitsPerComponent: UInt32get bitsPerPixel(): numberSwift declarationvar bitsPerPixel: UInt32set bitsPerPixel(value: number)Swift declarationvar bitsPerPixel: UInt32get colorSpace(): (SDKHandle) | nullSwift declarationvar colorSpace: Unmanaged<CGColorSpace>!set colorSpace(value: (SDKHandle) | null)Swift declarationvar colorSpace: Unmanaged<CGColorSpace>!get decode(): ("animatableData" | SDKHandle) | nullSwift declarationvar decode: UnsafePointer<CGFloat>!set decode(value: ("animatableData" | SDKHandle) | null)Swift declarationvar decode: UnsafePointer<CGFloat>!get renderingIntent(): _CoreGraphics_CGColorRenderingIntentSwift declarationvar renderingIntent: CGColorRenderingIntentset renderingIntent(value: _CoreGraphics_CGColorRenderingIntent)Swift declarationvar renderingIntent: CGColorRenderingIntentget version(): numberSwift declarationvar version: UInt32set version(value: number)Swift declarationvar version: UInt32static initCgImage(cgImage: _CoreGraphics_CGImage): (vImage_CGImageFormat) | nullSwift declarationinit?(cgImage: CGImage)Initializes an image format from a Core Graphics image. - Parameter cgImage: The image from which to derive the image format. - Returns: An initialized `vImage_CGImageFormat`.
get componentCount(): numberSwift declarationvar componentCount: Int { get }The number of color channels.
static initBitsPerComponentBitsPerPixelColorSpaceBitmapInfoRenderingIntent(bitsPerComponent: number, bitsPerPixel: number, colorSpace: _CoreGraphics_CGColorSpace, bitmapInfo: _CoreGraphics_CGBitmapInfo, renderingIntent?: _CoreGraphics_CGColorRenderingIntent): (vImage_CGImageFormat) | nullSwift declarationinit?(bitsPerComponent: Int, bitsPerPixel: Int, colorSpace: CGColorSpace, bitmapInfo: CGBitmapInfo, renderingIntent: CGColorRenderingIntent = .defaultIntent)Initializes an image format. - Parameter bitsPerComponent: The number of bits needed to represent one channel of data in one pixel. - Parameter bitsPerPixel: The number of bits needed to represent one pixel. - Parameter colorSpace: The color space for the format. - Parameter bitmapInfo: The component information describing the color channels. - Parameter renderingIntent: A rendering intent constant that specifies how Core Graphics should handle colors that are not located within the gamut of the destination color space of a graphics context. - Returns: An initialized `vImage_CGImageFormat`.
static initBitsPerComponentBitsPerPixelColorSpaceBitmapInfoVersionDecodeRenderingIntent(bitsPerComponent: number, bitsPerPixel: number, colorSpace: (SDKHandle) | null, bitmapInfo: _CoreGraphics_CGBitmapInfo, version: number, decode: ("animatableData" | SDKHandle) | null, renderingIntent: _CoreGraphics_CGColorRenderingIntent): vImage_CGImageFormatSwift declarationinit(bitsPerComponent: UInt32, bitsPerPixel: UInt32, colorSpace: Unmanaged<CGColorSpace>!, bitmapInfo: CGBitmapInfo, version: UInt32, decode: UnsafePointer<CGFloat>!, renderingIntent: CGColorRenderingIntent)static init(): vImage_CGImageFormatSwift declarationinit()No declarations were skipped in this snapshot.