Apply a bevel effect to the edges of an image.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Class BevelEdgeCommand
Inherits 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 Basic | Copy Code |
|---|
Dim image As AtalaImage = New AtalaImage("D:\Test Images\1.jpg")
Dim cmd As BevelEdgeCommand = New BevelEdgeCommand(10,60,170,200,40,200)
cmd.ApplyToImage(image) |
Remarks
Inheritance Hierarchy
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