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

TransformsProvider.Buttonize Method (Single, FadeType, Direction)

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

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.

Remarks

You can also use Buttonize class to apply this effect.

Examples

Visual Basic
bitmap.Transforms.Buttonize(20, Aurigma.GraphicsMill.Transforms.FadeType.Nonlinear, _
 Aurigma.GraphicsMill.Transforms.Direction.Down)
C#
bitmap.Transforms.Buttonize(20, Aurigma.GraphicsMill.Transforms.FadeType.Nonlinear,
    Aurigma.GraphicsMill.Transforms.Direction.Down);

See Also

Reference