diff --git a/src/text/CharacterStyle.js b/src/text/CharacterStyle.js index 450182f1..a336186d 100644 --- a/src/text/CharacterStyle.js +++ b/src/text/CharacterStyle.js @@ -30,11 +30,15 @@ var CharacterStyle = this.CharacterStyle = PathStyle.extend({ * @class The CharacterStyle object represents the character style of a text * item ({@link TextItem#characterStyle}) * - * @example + * Sample code: + *
* var text = new PointText(new Point(50, 50)); * text.fillColor = 'black'; * text.content = 'Hello world.'; * text.characterStyle.fontSize = 50; + *+ * + * @extends PathStyle */ initialize: function(style) { Base.initialize(this, style, {