In This Topic
Applies a soft edges effect to the current image.
The soft edges effect deflates all non-transparent areas of an image by a specified amount, then applies a Gaussian blur to make the border smooth.
Syntax
'Declaration
Public Sub ApplySoftEdges( _
ByVal As System.Nullable(Of Color), _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void ApplySoftEdges(
System.Nullable<Color> ,
System.int ,
System.int
)
Parameters
- backColor
- The optional background color of the resulting image.
- inflationRadius
- The negative radius of inflation, in pixels.
- gaussianBlurRadius
- The Gaussian blur radius, in pixels.
See Also