欧洲煤钢共同体原因:css light 属性值的含义

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/03 21:35:13
用light滤镜的时候,addACone 的各个属性值的含义是 什么

Syntax

object.filters.item("DXImageTransform.Microsoft.Light").
addCone(iX1, iY1, iZ1, iX2, iY2, iRed, iGreen, iBlue, iStrength, iSpread)
Parameters

iX1 Required. Integer that specifies the left coordinate of the light source.
//必填,整型,指明光源的X坐标
iY1 Required. Integer that specifies the top coordinate of the light source.
//必填,整型,指明光源的Y坐标
iZ1 Required. Integer that specifies the z-axis level of the light source.
//必填,整型,指明光源高度
iX2 Required. Integer that specifies the left coordinate of the target light focus.
//必填,整型,指明光源焦点的X坐标
iY2 Required. Integer that specifies the top coordinate of the target light focus.
//必填,整型,指明光源焦点的Y坐标
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).
//iRed、iGreen、iBlue 光源颜色的RGB三原色分量,必填,0~255整数
iStrength Required. Integer that specifies the intensity of the light filter. The value can range from 0 (lowest intensity) to 100 (highest intensity).
//光源长度,0~100
iSpread Required. Integer that specifies the angle, or spread, between the vertical position of the light source and the surface of the object. The angle can range from 0 to 90 degrees. Smaller angle values produce a smaller cone of light; larger values produce an oblique oval or circle of light.
//角度