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

[Bug] Two.Measure is referenced in Two.Text Docs but seems to be removed #679

Open
mechanoid opened this issue Dec 26, 2022 · 1 comment
Labels

Comments

@mechanoid
Copy link

Two.Measure is referenced here -> https://two.js.org/docs/text/#measure but seems to be removed in the code and I cannot find it elsewhere

@mechanoid mechanoid added the bug label Dec 26, 2022
@jonobr1 jonobr1 added question and removed bug labels Jan 3, 2023
@jonobr1
Copy link
Owner

jonobr1 commented Jan 3, 2023

Ah yes, this is a new addition to v0.8.11 which is the current development branch. I recently updated the docs for a few different issues and the latest code is now the documentation. Sorry about that. It does not exist in prior versions.

However, I will be updating npm in the coming days with this new version. So, if you update then you'll be able to find it in the Two.Text module.

In the meantime, here is the code for Two.Text.Mesaure https://github.com/jonobr1/two.js/blob/dev/src/text.js#L328 for reference.

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

No branches or pull requests

2 participants