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

Contrast.Amount Property

Gets/sets contrast modifier.

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

Syntax

Visual Basic
Public Property Amount As Single
C#
public float Amount { get; set; }

Property Value

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.

Remarks

Note

If you set Auto property to true, and modifying Amount, Auto is reset to false.

Default value is 0.

See Also

Reference