Constructor BitmapLayer
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
BitmapLayer(SizeInt32)
public BitmapLayer(SizeInt32 size)
Parameters
size
SizeInt32
BitmapLayer(Size)
public BitmapLayer(Size size)
Parameters
size
Size
BitmapLayer(int, int)
public BitmapLayer(int width, int height)
Parameters
BitmapLayer(Size, ColorBgra)
public BitmapLayer(Size size, ColorBgra fillColor)
Parameters
BitmapLayer(SizeInt32, ColorBgra)
public BitmapLayer(SizeInt32 size, ColorBgra fillColor)
Parameters
BitmapLayer(int, int, ColorBgra)
public BitmapLayer(int width, int height, ColorBgra fillColor)
Parameters
BitmapLayer(Surface)
Creates a new BitmapLayer of the same size as the given Surface, and copies the pixels from the given Surface.
public BitmapLayer(Surface surface)
Parameters
surface
SurfaceThe Surface to copy pixels from.
BitmapLayer(Surface, bool)
Creates a new BitmapLayer of the same size as the given Surface, and either copies the pixels of the given Surface or takes ownership of it.
public BitmapLayer(Surface surface, bool takeOwnership)