Method ToBitmap
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Windows.Core.dll
ToBitmap<TPixel>(RegionPtr<TPixel>)
public static IBitmap<TPixel> ToBitmap<TPixel>(this RegionPtr<TPixel> region) where TPixel : unmanaged, INaturalPixelInfo
Parameters
regionRegionPtr<TPixel>
Returns
- IBitmap<TPixel>
Type Parameters
TPixel
ToBitmap<TPixel>(RegionPtr<TPixel>, BitmapAllocationOptions)
public static IBitmap<TPixel> ToBitmap<TPixel>(this RegionPtr<TPixel> region, BitmapAllocationOptions options) where TPixel : unmanaged, INaturalPixelInfo
Parameters
regionRegionPtr<TPixel>optionsBitmapAllocationOptions
Returns
- IBitmap<TPixel>
Type Parameters
TPixel