dojox/gfx/gradutils (version 1.10)

See the dojox/gfx/gradutils reference documentation for more information.

Method Summary

  • getColor(fill,pt) sample a color from a gradient using a point
  • reverse(fill) reverses a gradient

Methods

getColor(fill,pt)
Defined by dojox/gfx/gradutils

sample a color from a gradient using a point

Parameter Type Description
fill Object

fill object

pt Object

point where to sample a color

reverse(fill)
Defined by dojox/gfx/gradutils

reverses a gradient

Parameter Type Description
fill Object

fill object

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