Skip to main content

textOptions

Canvas's 2D context attributes for customizing texts

// DefaulttextOptions: {  font: "32pt serif",  fillStyle: "red"}
textOptions: {  font: "32pt cursive",  fillStyle: "#fff"}