Table of Contents

Method CreateWindow

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

CreateWindow(IBitmap, RectInt32)

public static IBitmap CreateWindow(this IBitmap bitmap, RectInt32 rect)

Parameters

bitmap IBitmap
rect RectInt32

Returns

IBitmap

CreateWindow<TPixel>(IBitmap<TPixel>, RectInt32)

public static IBitmap<TPixel> CreateWindow<TPixel>(this IBitmap<TPixel> bitmap, RectInt32 rect) where TPixel : unmanaged, INaturalPixelInfo

Parameters

bitmap IBitmap<TPixel>
rect RectInt32

Returns

IBitmap<TPixel>

Type Parameters

TPixel