Constructor BitmapLayer
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
BitmapLayer(SizeInt32)
public BitmapLayer(SizeInt32 size)
Parameters
sizeSizeInt32
BitmapLayer(Size)
public BitmapLayer(Size size)
Parameters
sizeSize
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
surfaceSurfaceThe 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)