Changes the color of a light filter's light.
dhtml语法
object.filters.item(
"dximagetransform.microsoft.light").changecolor(ilightnumber, ired, igreen, iblue, fabsolute)
parameters
iLightNumber |
Required.
Integerthat specifies the identifier for the light. |
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). |
fAbsolute |
Required.
Booleanthat specifies whether the color values for iRed
, iGreen
, and iBlue
are absolute values that replace the current values, or are relative values that are added to the current values. A nonzero value indicates the color values are absolute; a value of 0 indicates the color values are relative. |
Return Value
No return value.
Applies To