a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

specularConstant attribute | specularConstant property

Specifies the diffuse refection constant used to calculate the effects of diffusion and reflection from a light source.

This property is read-only.

Scalable Vector Graphics: Filter Effects, Section 15.25.25Internet Explorer 10

Syntax

HTML
<element specularConstant="ptr" ... >
JavaScript
ptr = object.specularConstant

Property values

Type: SVGAnimatedNumber

A non-negative number. If not specified, this defaults to 1.0.

Standards information

Remarks

The specularConstant property specifies the ratio of reflection of the diffuse element of light from a light source. For more information, see Phong lighting model.

See also

SVGFESpecularLightingElement

 

 

Show:
© 2014 Microsoft