dojox/gfx3d/gradient (version 1.10)

Summary

calculate a cylindrical gradient

Usage

gradient(model,material,center,radius,from,to,matrix);
Parameter Type Description
model dojox.gfx3d.lighting.Model

color model

material Object

defines visual properties

center Object

center of the cylinder's bottom

radius Number

radius of the cylinder

from Number

from position in radians

to Number

from position in radians

matrix Object

the cumulative transformation matrix

Returns:object

See the dojox/gfx3d/gradient reference documentation for more information.

Property Summary

  • tolerancetolerable difference in colors between gradient steps

Method Summary

Properties

tolerance
Defined by: dojox/gfx3d/gradient

tolerable difference in colors between gradient steps

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!