ImageGenerator Constructor (Size, 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(
	Size size,
	PixelFormat pixelFormat,
	Color backgroundColor
)

Parameters

size

Type: System.Drawing.Size

The Size containing the size the resulting bitmap. You can change this value later through the Width and Height properties.
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