'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.