Method WriteRegion
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.Core.dll
WriteRegion<TPixel>(IBitmap<TPixel>, Point2Int32, RegionPtr<TPixel>)
Copies the source region to the destination bitmap at the specified destination offset.
public static void WriteRegion<TPixel>(this IBitmap<TPixel> dst, Point2Int32 dstOffset, RegionPtr<TPixel> sourceRegion) where TPixel : unmanaged, INaturalPixelInfo
Parameters
dstIBitmap<TPixel>dstOffsetPoint2Int32sourceRegionRegionPtr<TPixel>
Type Parameters
TPixel
WriteRegion<TPixel>(IBitmap<TPixel>, RegionPtr<TPixel>)
Copies the source region to the top left of the destination bitmap.
public static void WriteRegion<TPixel>(this IBitmap<TPixel> dst, RegionPtr<TPixel> sourceRegion) where TPixel : unmanaged, INaturalPixelInfo
Parameters
Type Parameters
TPixel