Atalasoft dotImage Send comments on this topic.
BevelEdgeCommand Class
See Also  Members   Example 
Atalasoft.dotImage Assembly > Atalasoft.Imaging.ImageProcessing.Effects Namespace : BevelEdgeCommand Class




Apply a bevel effect to the edges of an image.

Syntax

Visual Basic (Declaration) 
Public Class BevelEdgeCommand 
   Inherits ImageCommand
Visual Basic (Usage)Copy Code
Dim instance As BevelEdgeCommand
C# 
public class BevelEdgeCommand : ImageCommand 
Managed Extensions for C++ 
public __gc class BevelEdgeCommand : public ImageCommand 
C++/CLI 
public ref class BevelEdgeCommand : public ImageCommand 

Example

The following example applies a 10 pixel smooth bevel on an image.
C#Copy Code
// Load a 24-bit image.
AtalaImage image = new AtalaImage(@"D:\Test Images\1.jpg");

// Apply a 10 pixel bevel with a light source from the right.
BevelEdgeCommand cmd = new BevelEdgeCommand(10, 60, 170, 200, 40, 200);
cmd.ApplyToImage(image);
Visual BasicCopy Code
' Load a 24-bit image.
Dim image As AtalaImage = New AtalaImage("D:\Test Images\1.jpg")

' Apply a 10 pixel bevel with a light source from the right.
Dim cmd As BevelEdgeCommand = New BevelEdgeCommand(10,60,170,200,40,200)
cmd.ApplyToImage(image)

Remarks

This method requires a continuous tone image.

Inheritance Hierarchy

System.Object
   Atalasoft.Imaging.ImageProcessing.ImageCommand
      Atalasoft.Imaging.ImageProcessing.Effects.BevelEdgeCommand

Requirements

Namespace: Atalasoft.Imaging.ImageProcessing.Effects

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Atalasoft.dotImage (in Atalasoft.dotImage.dll)

See Also