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

TransformsProvider.Buttonize Method (Single, FadeType, Direction, 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, _
        lightColor
As Color, _
        shadowColor
As Color _
)
C#
public void Buttonize(
       
float borderWidth,
       
FadeType fadeType,
       
Direction direction,
       
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.
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