CGBitmapContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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