ImageGear .NET v24.12 - Updated
Spotlights Method




ImageGear24.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Spotlights Method
Page to apply the effect to.
Array of objects specifying spotlight parameters.
Amount to darken the unilluminated area by. Value of 0.0 results in no darkening; value of 1.0 makes unilluminated area black.
This method darkens the image and highlights selected areas as if they are illuminated with a spotlight or sunlight.
Syntax
'Declaration
 
Public Shared Sub Spotlights( _
   ByVal page As ImGearRasterPage, _
   ByVal lights() As ImGearSpotlight, _
   ByVal darkenBy As Double _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim lights() As ImGearSpotlight
Dim darkenBy As Double
 
ImGearEffects.Spotlights(page, lights, darkenBy)
public static void Spotlights( 
   ImGearRasterPage page,
   ImGearSpotlight[] lights,
   double darkenBy
)
public: static void Spotlights( 
   ImGearRasterPage* page,
   ImGearSpotlight*[]* lights,
   double darkenBy
) 
public:
static void Spotlights( 
   ImGearRasterPage^ page,
   array<ImGearSpotlight^>^ lights,
   double darkenBy
) 

Parameters

page
Page to apply the effect to.
lights
Array of objects specifying spotlight parameters.
darkenBy
Amount to darken the unilluminated area by. Value of 0.0 results in no darkening; value of 1.0 makes unilluminated area black.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
ImGearSpotlight Class
SpotlightsPreview Method