/** * @class Ext.draw.gradient.Linear * @extend Ext.draw.gradient.Gradient * * Linear gradient. * * @example * Ext.create({ * xtype: 'draw', * renderTo: document.body, * width: 600, * height: 400, * sprites: [{ * type: 'circle', * cx: 100, * cy: 100, * r: 100, * fillStyle: { * type: 'linear', * degrees: 180, * stops: [{ * offset: 0, * color: '#1F6D91' * }, { * offset: 1, * color: '#90BCC9' * }] * } * }] * }); */ /** * @cfg {Number} [degrees=0] * The angle of rotation of the gradient in degrees. *//** * @cfg {Number} [radians=0] * The angle of rotation of the gradient in radians. */