ImageGear22.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Vignette(ImGearRasterPage,IImGearShape,Int32,Double,ImGearPixel,Boolean) Method |
The behavior of this method depends on whether the image has an Alpha channel or not.
If the image does not have an Alpha channel, the method uses specified color to fill the shape. Use this mode to add a colored vignette to an image. In this mode, you will most likely set the fillInside parameter to false, to fill the borders of the image.
If the source image has an Alpha channel, the method only modifies the contents of the Alpha channel, and leaves color channels unchanged. It uses the alpha value of fillColor as the maximum opacity value for filling. Use this mode to create a semi-transparent vignette that can then be applied to other images. In this mode, you will most likely set the fillInside parameter to true, to make the interior transparent and leave the borders of the vignette opaque.