Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding text labels #86

Open
jeremylowery opened this issue Sep 2, 2016 · 1 comment
Open

Adding text labels #86

jeremylowery opened this issue Sep 2, 2016 · 1 comment

Comments

@jeremylowery
Copy link

Is there any support or plan for supporting adding text labels/captions to the display? If not, what technique would be appropriate to super impose it?

@KenoLeon
Copy link
Collaborator

While not part of the library, The canvas API supports text, something like this would super impose it:

var ctx = document.getElementById('canvas').getContext('2d');
ctx.font = '40pt Calibri';
ctx.fillStyle = 'blue';
ctx.fillText('Hello World!', 150, 100);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants