Adds a light source to the light filter.the light source originates at a single point and radiates in all directions.
dhtml语法
object.filters.item(
    "dximagetransform.microsoft.light").addpoint(ix, iy, iz, ired, igreen, iblue, istrength)
parameters
| iX | 
Required.
Integerthat specifies the left coordinate of the light source. | 
| iY | 
Required.
Integerthat specifies the top coordinate of the light source. | 
| iZ | 
Required.
Integerthat specifies the z-axis level of the light source. | 
| iRed | 
Required.
Integerthat specifies the red value. The value can range from 0 (lowest saturation) to 255 (highest saturation). | 
| iGreen | 
Required.
Integerthat specifies the green value. The value can range from 0 (lowest saturation) to 255 (highest saturation). | 
| iBlue | 
Required.
Integerthat specifies the blue value. The value can range from 0 (lowest saturation) to 255 (highest saturation). | 
| iStrength | 
Required.
Integerthat 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