Extends PathStyle
The CharacterStyle object represents the character style of a text item (textItem.characterStyle)
Example
1
2
3
4
5
6
var text = new PointText(new Point(50, 50));
text.content = 'Hello world.';
text.characterStyle = {
fontSize: 50,
fillColor: 'black',
};