You’re viewing outdated documentation. View the latest Graphics Mill documentation.

Brightness Constructor (Boolean[], Single)

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

Creates new Brightness class instance. Here you can specify what channels to process with this transform and brigthness modifier.

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

Syntax

Visual Basic
Public Sub New ( _
	channels As Boolean(), _
	amount As Single _
)
C#
public Brightness(
	bool[] channels,
	float amount
)

Parameters

channels

Type: System.Boolean []

Array of flags specifying what channels to apply effect at. If array item is true, transform will be applied at channel with appropriate index. Otherwise this channel is skipped. You can change to this array later through the property Channels.
amount

Type: System.Single

Brightness modifier value varying in range [-1, 1]. You can change this value later through property Amount.

See Also

Reference