Constructor Surface
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
Surface(Size)
Creates a new instance of the Surface class.
public Surface(Size size)
Parameters
size
SizeThe size, in pixels, of the new Surface.
Surface(SizeInt32)
public Surface(SizeInt32 size)
Parameters
size
SizeInt32
Surface(Size, SurfaceCreationFlags)
public Surface(Size size, SurfaceCreationFlags surfaceCreationFlags)
Parameters
size
SizesurfaceCreationFlags
SurfaceCreationFlags
Surface(SizeInt32, SurfaceCreationFlags)
public Surface(SizeInt32 size, SurfaceCreationFlags surfaceCreationFlags)
Parameters
size
SizeInt32surfaceCreationFlags
SurfaceCreationFlags
Surface(int, int)
public Surface(int width, int height)
Parameters
Surface(int, int, SurfaceCreationFlags)
Creates a new instance of the Surface class.
public Surface(int width, int height, SurfaceCreationFlags surfaceCreationFlags)
Parameters
width
intThe width, in pixels, of the new Surface.
height
intThe height, in pixels, of the new Surface.
surfaceCreationFlags
SurfaceCreationFlagsThe options for creating the Surface.