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