addPoint Method

Internet Development Index

Adds a light source to the Light filter.The light source originates at a single point and radiates in all directions.

Syntax

object.filters.item(
    "DXImageTransform.Microsoft.Light").addPoint(iX, iY, iZ, iRed, iGreen, iBlue, iStrength)

Parameters

iX Required. Integer that specifies the left coordinate of the light source.
iY Required. Integer that specifies the top coordinate of the light source.
iZ Required. Integer that specifies the z-axis level of the light source.
iRed Required. Integer that specifies the red value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
iGreen Required. Integer that specifies the green value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
iBlue Required. Integer that specifies the blue value. The value can range from 0 (lowest saturation) to 255 (highest saturation).
iStrength Required. Integer that specifies the intensity of the light filter. The value can range from 0 (lowest intensity) to 100 (highest intensity). The intensity specified pertains to the target coordinates.

Return Value

No return value.

Applies To

Light