dojox/gfx/_base.defaultRadialGradient (version 1.10)

Summary

An object specifying the default properties for RadialGradients using in fills patterns.

See the dojox/gfx/_base.defaultRadialGradient reference documentation for more information.

Property Summary

  • colorsAn array of colors at given offsets (from the center of the radial gradient).
  • cxThe X coordinate of the center of the radial gradient, default value 0.
  • cyThe Y coordinate of the center of the radial gradient, default value 0.
  • rThe radius to the end of the radial gradient, default value 100.
  • typeSpecifies this is a RadialGradient, value 'radial'

Properties

colors
Defined by: dojox/gfx/_base

An array of colors at given offsets (from the center of the radial gradient). The center is defined at offest 0 with the outer edge of the gradient at offset 1. Default value, [{ offset: 0, color: 'black'},{offset: 1, color: 'white'}], is a gradient from black to white.

cx
Defined by: dojox/gfx/_base

The X coordinate of the center of the radial gradient, default value 0.

cy
Defined by: dojox/gfx/_base

The Y coordinate of the center of the radial gradient, default value 0.

r
Defined by: dojox/gfx/_base

The radius to the end of the radial gradient, default value 100.

type
Defined by: dojox/gfx/_base

Specifies this is a RadialGradient, value 'radial'

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