This method draws a shape on the image and fills interior or exterior of the shape with a specified
            color, using a smooth gradient at the edge of the shape.
            
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Shared Sub Vignette( _
   ByVal  As ImGearRasterPage, _
   ByVal  As IImGearShape, _
   ByVal  As Integer, _
   ByVal  As Double, _
   ByVal  As ImGearPixel, _
   ByVal  As Boolean _
) 
             
        
            
            'Usage
 
Dim page As ImGearRasterPage
Dim shape As IImGearShape
Dim smoothWidth As Integer
Dim smoothFactor As Double
Dim fillColor As ImGearPixel
Dim fillInside As Boolean
 
ImGearEffects.Vignette(page, shape, smoothWidth, smoothFactor, fillColor, fillInside)
             
        
            
        
            
        
            
        
             
        
            Parameters
- page
 
- Page to add vignette to.
 - shape
 
- Specifies vignette shape and position. Supported shape types are ImageGear.Core.ImGearRect structure, ImageGear.Core.ImGearEllipse structure, and ImageGear.Core.ImGearRoundedRectangle structure.
 - smoothWidth
 
- Specifies width of the smothing area. Smoothing area is located outside of the shape.
 - smoothFactor
 
- Specifies the shape of the smoothing curve. The value of 0.5 corresponds
            to linear transition, smaller values result in smother transition at the transparent edge of the
            vignette, greater values result in stronger transition at the transparent edge of the vignette. The
            valid range is 0...1.
 - fillColor
 
- If the image does not contain an Alpha channel, specifies fill color for the
            vignette. Otherwise, the Alpha value of fillColor specifies maximum opacity value for the vignette.
            Must correspond to the colorspace of the source image.
 - fillInside
 
- Set to false to fill outside area of the shape (best for applying a colored
            vignette). Set to true to fill inside area of the shape (best for creating a vignette from an image).
 
            
             
            
            
            
            
            
            
            
            
            
            
            
            See Also