ImageGenerator Constructor (Int32, Int32, PixelFormat, Color)

Initializes a new instance of the ImageGenerator class using the specified parameters.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public ImageGenerator(
	int width,
	int height,
	PixelFormat pixelFormat,
	Color backgroundColor
)

Parameters

width

Type: System..Int32

The width, in pixels, of the resulting bitmap. You can change this value later through the Width property.
height

Type: System..Int32

The height, in pixels, of the resulting bitmap. You can change this value later through the Height property.
pixelFormat

Type: Aurigma.GraphicsMill..PixelFormat

A PixelFormat of the resulting bitmap. You can change this value later through the PixelFormat property.
backgroundColor

Type: Aurigma.GraphicsMill..Color

A Color to fill the resulting bitmap. You can change this value later through the BackgroundColor property.

See Also

Reference