Method CreateRefT
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Windows.dll
CreateRefT<TPixel>(IBitmapLock<TPixel>)
public static IBitmapLock<TPixel> CreateRefT<TPixel>(this IBitmapLock<TPixel> objectRef) where TPixel : unmanaged, INaturalPixelInfo
Parameters
objectRef
IBitmapLock<TPixel>
Returns
- IBitmapLock<TPixel>
Type Parameters
TPixel
CreateRefT<TPixel>(IBitmapSource<TPixel>)
public static IBitmapSource<TPixel> CreateRefT<TPixel>(this IBitmapSource<TPixel> objectRef) where TPixel : unmanaged, INaturalPixelInfo
Parameters
objectRef
IBitmapSource<TPixel>
Returns
- IBitmapSource<TPixel>
Type Parameters
TPixel
CreateRefT<TPixel>(IBitmap<TPixel>)
public static IBitmap<TPixel> CreateRefT<TPixel>(this IBitmap<TPixel> objectRef) where TPixel : unmanaged, INaturalPixelInfo
Parameters
objectRef
IBitmap<TPixel>
Returns
- IBitmap<TPixel>
Type Parameters
TPixel