Demo:
Text with HTML5 Canvas
Please note:
this demo page is to go along with the post
HTML5 Canvas: Text
, so please use that for reference.
Text styles
Filled text
Bold filled text
Outlined text
Horizontal alignment
Left aligned text
Centre aligned text
Right aligned text
textalign="start"
textalign="end"
Vertical alignment
Top aligned text
Middle aligned text
Bottom aligned text