dojox/gfx.Fill (version 1.10)

Summary

Defines how to fill a shape. Four types of fills can be used: solid, linear gradient, radial gradient and pattern. See dojox/gfx.LinearGradient, dojox/gfx.RadialGradient and dojox/gfx.Pattern respectively for more information about the properties supported by each type.

Property Summary

  • colorThe color of a solid fill type.
  • typeThe type of fill.

Properties

color
Defined by: dojox/gfx/_base

The color of a solid fill type.

type
Defined by: dojox/gfx/_base

The type of fill. One of 'linear', 'radial', 'pattern' or undefined. If not specified, a solid fill is assumed.

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