This documentation is for the old version. Go to the latest Graphics Mill docs

Contrast Constructor (Single)

Creates new Contrast class instance. Here you can specify a contrast modifier.

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

Syntax

Visual Basic
Public Sub New ( _
	amount As Single _
)
C#
public Contrast(
	float amount
)

Parameters

amount

Type: System.Single

Contrast modifier value varying in range [-1, 1]. Minimum value (-1) will produce absolutely gray image, neutral value (0) does no effect, maximum value (1) makes the image extremely posterized. You can change this value later through property Amount.

See Also

Reference