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

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

Creates and initializes Buttonize transform object. At this constructor you can all parameters available for buttonizing.

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, _
	horizontalBorder As Boolean, _
	verticalBorder As Boolean, _
	lightColor As Color, _
	shadowColor As Color _
)
C#
public Buttonize(
	float borderWidth,
	FadeType fadeType,
	Direction direction,
	bool horizontalBorder,
	bool verticalBorder,
	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.
horizontalBorder

Type: System.Boolean

Value specifying whether to show horizontal border. It is accessible later via HorizontalBorder property.
verticalBorder

Type: System.Boolean

Value specifying whether to show vertical border. It is accessible later via VerticalBorder 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