Skip to content

Set maximum width to stroke and fill text when invoked to draw labels #859

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

Closed
wants to merge 1 commit into from

Conversation

stockiNail
Copy link
Collaborator

@stockiNail stockiNail commented Feb 27, 2023

This PR is setting the max width when strokeText and fillText methods of are invoked to draw the labels.

This enables a simple appearance animation on the labels based on the width of annotation element.

@stockiNail
Copy link
Collaborator Author

This could be helpful on animation but it could create some limitations when you need to draw the label, ignoring the box size. Better do not implement.

@stockiNail stockiNail closed this May 16, 2023
@stockiNail stockiNail deleted the maxWidthOnLabel branch May 16, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant