Method CreateSharedBitmap
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Core.dll
CreateSharedBitmap<TPixel>(ISurfaceRef<TPixel>)
public static IBitmap<TPixel> CreateSharedBitmap<TPixel>(this ISurfaceRef<TPixel> surface) where TPixel : unmanaged, INaturalPixelInfo<TPixel>
Parameters
surface
ISurfaceRef<TPixel>
Returns
- IBitmap<TPixel>
Type Parameters
TPixel