dojox
»
gfx3d
»
lighting
» fromStdColor
dojox.gfx3d.lighting.fromStdColor
dojo.require("dojox.gfx3d.lighting");
defined in dojox/gfx3d/lighting.js
Usage
function (c)
(view source)
return
new
dojo.
Color
(
[
Math
.
round
(
255
*
c.
r
)
,
Math
.
round
(
255
*
c.
g
)
,
Math
.
round
(
255
*
c.
b
)
, c.
a
]
)
;
parameter
type
description
c