|
|
@ -429,6 +429,13 @@ Context2d.prototype.__defineSetter__('shadowColor', function(val){ |
|
|
|
|
|
|
|
Context2d.prototype.__defineGetter__('shadowColor', normalizedColor('lastShadowColor')); |
|
|
|
|
|
|
|
/** |
|
|
|
* Set font. |
|
|
|
* |
|
|
|
* @see exports.parseFont() |
|
|
|
* @api public |
|
|
|
*/ |
|
|
|
|
|
|
|
Context2d.prototype.__defineSetter__('font', function(val){ |
|
|
|
if ('string' == typeof val) { |
|
|
|
var font; |
|
|
|