Set the text style.
name | type | description |
---|---|---|
style | object |
The style settings to set. |
This Text object.
text.setStyle({
fontSize: '64px',
fontFamily: 'Arial',
color: '#ffffff',
align: 'center',
backgroundColor: '#ff00ff'
});