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

Create Text Position Feature #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rayliverified
Copy link
Contributor

*Text can now be positioned via setXPosition and setYPosition functions instead of defaulting to center of view. Values range from 0-100 with 50 as the center by default.
*Note: No intelligence is built into setting text position. For example, setting X or Y position to 0 places half of the text offscreen. User judgement required!

*Text can now be positioned via setXPosition and setYPosition functions instead of defaulting to center of view.  Values range from 0-100 with 50 as the center by default. 
*Note: No intelligence is built into setting text position. For example, setting X or Y position to 0 places half of the text offscreen. User judgement required!
*Change default center value to 51 instead of 50.
*Int rounding results in incorrect positioning. Fix by performing arithmetic in float and then cast to int.
@rayliverified
Copy link
Contributor Author

Any update on this PR?

@rayliverified
Copy link
Contributor Author

Any update?

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

Successfully merging this pull request may close these issues.

None yet

1 participant