mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
updated docs
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user