Hi, as mentioned in the documentation a Text shape has a fontStyle which can take one of the following values : normal, bold, italic.
How can we use a bold AND italic style ? In our case it is necessary because we are developing a text editor which has 2 buttons (bold and italic) which can both be enabled together.
Hi, as mentioned in the documentation a
Text
shape has afontStyle
which can take one of the following values :normal
,bold
,italic
.How can we use a
bold
ANDitalic
style ? In our case it is necessary because we are developing a text editor which has 2 buttons (bold and italic) which can both be enabled together.Perhaps KineticJS
Text
should support a newfont
property which will have a similar behavior as the CSSfont
property http://www.w3schools.com/cssref/pr_font_font.asp ?Anyway, for the moment what are our solutions to implement this
bold
ANDitalic
functionality with KineticJS ?