Browse Source

Docs for font=

v1.x
Tj Holowaychuk 15 years ago
parent
commit
f3bc337a3f
  1. 7
      lib/canvas.js

7
lib/canvas.js

@ -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;

Loading…
Cancel
Save