ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > LensFlare Method |
Applies a lens flare effect to the image. The effect simulates a bright light, such as the sun, and some reflections within the lens. It is typically used to add a sense of drama or realism to a photographic image.
Sub LensFlare(Page As IGPage, xPos As Long, yPos As Long,
primaryBrightness As Single, secondaryBrightness As Single,
flareType As enumIGFXLensFlareType)
Name | Description |
---|---|
Page | IGPage Object to which to apply the effect. |
xPos | X coordinate of the primary flare. |
yPos | Y coordinate of the primary flare. |
primaryBrightness | Brightness of the primary flare. This value should range from 0 to 1. |
secondaryBrightness | Brightness of the secondary flare. This value should range from 0 to 1. |
flareType | Predefined flare type to use. Determines the shape and appearance of the lens flare elements. |
N/A
RGB-based color spaces only.
Image Processing and Effects