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

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

Creates and initializes Buttonize transform object. At this constructor you can set button edge width and parameters defining edges appearance as lighting direction and border fade type. Besides you can enable/disable horizontal or vertical edges here.

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

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.

See Also

Reference