updated docs

This commit is contained in:
Eric Rowell 2012-03-30 21:06:26 -07:00
parent ca887f1ff5
commit 540670ba8b
4 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@
* http://www.kineticjs.com/
* Copyright 2012, Eric Rowell
* Licensed under the MIT or GPL Version 2 licenses.
* Date: Mar 25 2012
* Date: Mar 30 2012
*
* Copyright (C) 2011 - 2012 by Eric Rowell
*

File diff suppressed because one or more lines are too long

View File

@ -124,9 +124,7 @@ Kinetic.Text.prototype = {
return this.fontSize;
},
/**
* set font style using same rules as the first argument for the css spec's shorthand font property:
* http://www.w3.org/TR/CSS21/fonts.html#propdef-font
* i.e. [ <'font-style'> || <'font-variant'> || <'font-weight'> ]
* set font style. Can be "normal", "italic", or "bold". "normal" is the default.
* @param {String} fontStyle
*/
setFontStyle: function(fontStyle) {

View File

@ -832,6 +832,7 @@ Test.prototype.tests = {
textFill: '#888',
textStroke: '#333',
padding: 10,
fontStyle: 'normal',
//draggable: true,
align: 'center',
verticalAlign: 'middle'