CharacterStyle

Extends PathStyle

The CharacterStyle object represents the character style of a text item (textItem.characterStyle)

Example

var text = new PointText(new Point(50, 50));
1
2
3
4
5
6
 
var text = new PointText(new Point(50, 50));
text.content = 'Hello world.';
text.characterStyle = {
    fontSize: 50,
    fillColor: 'black',
};

Properties

Properties inherited from PathStyle

Stroke Style

Fill Style