CGBitmapContext 构造函数

定义

重载

CGBitmapContext(Byte[], nint, nint, nint, nint, CGColorSpace, CGBitmapFlags)
CGBitmapContext(Byte[], nint, nint, nint, nint, CGColorSpace, CGImageAlphaInfo)
CGBitmapContext(IntPtr, nint, nint, nint, nint, CGColorSpace, CGBitmapFlags)
CGBitmapContext(IntPtr, nint, nint, nint, nint, CGColorSpace, CGImageAlphaInfo)

CGBitmapContext(Byte[], nint, nint, nint, nint, CGColorSpace, CGBitmapFlags)

public CGBitmapContext (byte[] data, nint width, nint height, nint bitsPerComponent, nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGBitmapFlags bitmapInfo);
new CoreGraphics.CGBitmapContext : byte[] * nint * nint * nint * nint * CoreGraphics.CGColorSpace * CoreGraphics.CGBitmapFlags -> CoreGraphics.CGBitmapContext

参数

data
Byte[]
width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bitsPerComponent
System.System.IntPtr System.nativeint
bytesPerRow
System.System.IntPtr System.nativeint
colorSpace
CGColorSpace
bitmapInfo
CGBitmapFlags

适用于

CGBitmapContext(Byte[], nint, nint, nint, nint, CGColorSpace, CGImageAlphaInfo)

public CGBitmapContext (byte[] data, nint width, nint height, nint bitsPerComponent, nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo);
new CoreGraphics.CGBitmapContext : byte[] * nint * nint * nint * nint * CoreGraphics.CGColorSpace * CoreGraphics.CGImageAlphaInfo -> CoreGraphics.CGBitmapContext

参数

data
Byte[]
width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bitsPerComponent
System.System.IntPtr System.nativeint
bytesPerRow
System.System.IntPtr System.nativeint
colorSpace
CGColorSpace
bitmapInfo
CGImageAlphaInfo

适用于

CGBitmapContext(IntPtr, nint, nint, nint, nint, CGColorSpace, CGBitmapFlags)

public CGBitmapContext (IntPtr data, nint width, nint height, nint bitsPerComponent, nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGBitmapFlags bitmapInfo);
new CoreGraphics.CGBitmapContext : nativeint * nint * nint * nint * nint * CoreGraphics.CGColorSpace * CoreGraphics.CGBitmapFlags -> CoreGraphics.CGBitmapContext

参数

data
IntPtr

nativeint

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bitsPerComponent
System.System.IntPtr System.nativeint
bytesPerRow
System.System.IntPtr System.nativeint
colorSpace
CGColorSpace
bitmapInfo
CGBitmapFlags

适用于

CGBitmapContext(IntPtr, nint, nint, nint, nint, CGColorSpace, CGImageAlphaInfo)

public CGBitmapContext (IntPtr data, nint width, nint height, nint bitsPerComponent, nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo);
new CoreGraphics.CGBitmapContext : nativeint * nint * nint * nint * nint * CoreGraphics.CGColorSpace * CoreGraphics.CGImageAlphaInfo -> CoreGraphics.CGBitmapContext

参数

data
IntPtr

nativeint

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bitsPerComponent
System.System.IntPtr System.nativeint
bytesPerRow
System.System.IntPtr System.nativeint
colorSpace
CGColorSpace
bitmapInfo
CGImageAlphaInfo

适用于