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

TransformsProvider.Buttonize Method (Single, FadeType, Direction, Boolean, Boolean, Color, Color)

Applies buttonize effect on the image.

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

Syntax

Visual Basic
Public Sub Buttonize ( _
	borderWidth As Single, _
	fadeType As FadeType, _
	direction As Direction, _
	horizontalBorder As Boolean, _
	verticalBorder As Boolean, _
	lightColor As Color, _
	shadowColor As Color _
)
C#
public void Buttonize(
	float borderWidth,
	FadeType fadeType,
	Direction direction,
	bool horizontalBorder,
	bool verticalBorder,
	Color lightColor,
	Color shadowColor
)

Parameters

borderWidth

Type: System.Single

Border (button edge) width.
fadeType

Type: Aurigma.GraphicsMill.Transforms.FadeType

FadeType value specifying a fade type used to draw button edges.
direction

Type: Aurigma.GraphicsMill.Transforms.Direction

Direction value specifying lightning direction used to draw button edges.
horizontalBorder

Type: System.Boolean

Value specifying whether to show horizontal border.
verticalBorder

Type: System.Boolean

Value specifying whether to show vertical border.
lightColor

Type: Aurigma.GraphicsMill.Color

Color value used to draw highlighted edges.
shadowColor

Type: Aurigma.GraphicsMill.Color

Color value used to draw shadowed edges.

Remarks

You can also use Buttonize class to apply this effect.

See Also

Reference