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

Buttonize Constructor (Single, FadeType, Direction, Color, Color)

Creates and initializes Buttonize transform object. At this constructor you can set button edge width and parameters defining edges appearance as lighting direction, border fade type, and edges colors.

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

Syntax

Visual Basic
Public Sub New ( _
	borderWidth As Single, _
	fadeType As FadeType, _
	direction As Direction, _
	lightColor As Color, _
	shadowColor As Color _
)
C#
public Buttonize(
	float borderWidth,
	FadeType fadeType,
	Direction direction,
	Color lightColor,
	Color shadowColor
)

Parameters

borderWidth

Type: System.Single

Border (button edge) width. It is accessible later via BorderWidth property.
fadeType

Type: Aurigma.GraphicsMill.Transforms.FadeType

FadeType value specifying a fade type used to draw button edges. It is accessible later via FadeType property.
direction

Type: Aurigma.GraphicsMill.Transforms.Direction

Direction value specifying lightning direction used to draw button edges. It is accessible later via Direction property.
lightColor

Type: Aurigma.GraphicsMill.Color

Color value specifying to draw highlighted edges. It is accessible later via LightColor property.
shadowColor

Type: Aurigma.GraphicsMill.Color

Color value specifying to draw shadowed edges. It is accessible later via ShadowColor property.

See Also

Reference