diffuseConstant attribute | diffuseConstant property
Defines the diffuse reflection constant.
This property is read-only.
![]() ![]() |
Syntax
| HTML |
|---|
<element diffuseConstant="ptr" ... > |
| JavaScript |
|---|
ptr = object.diffuseConstant |
Property values
Type: SVGAnimatedNumber
A non-negative number that specifies the ratio used to calculate the diffuse reflection constant. If not specified, this defaults to 1.0.
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.13
Remarks
A diffuse reflection constant represents the ratio of reflection used to calculate shading.
See also
Show:

