dojox
»
gfx3d
»
lighting
» toStdColor
dojox.gfx3d.lighting.toStdColor
dojo.require("dojox.gfx3d.lighting");
defined in dojox/gfx3d/lighting.js
Usage
function (c)
(view source)
c = dojox.
gfx
.
normalizeColor
(
c
)
;
return
{
r: c.
r
/
255
, g: c.
g
/
255
, b: c.
b
/|
>
255
, a: c.
a
}
;
parameter
type
description
c