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爐hat specifies the left coordinate of the light source. |
| iY |
Required.
Integer爐hat specifies the top coordinate of the light source. |
| iZ |
Required.
Integer爐hat specifies the z-axis level of the light source. |
| iRed |
Required.
Integer爐hat specifies the red value. The value can range from 0 (lowest saturation) to 255 (highest saturation). |
| iGreen |
Required.
Integer爐hat specifies the green value. The value can range from 0 (lowest saturation) to 255 (highest saturation). |
| iBlue |
Required.
Integer爐hat specifies the blue value. The value can range from 0 (lowest saturation) to 255 (highest saturation). |
| iStrength |
Required.
Integer爐hat 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