Table of Contents

Constructor Surface

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

Surface(Size)

Creates a new instance of the Surface class.

public Surface(Size size)

Parameters

size Size

The size, in pixels, of the new Surface.

Surface(SizeInt32)

public Surface(SizeInt32 size)

Parameters

size SizeInt32

Surface(int, int)

public Surface(int width, int height)

Parameters

width int
height int