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