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

[Question] How to draw a rectangle in a page #5

Open
mantielero opened this issue Oct 12, 2020 · 1 comment
Open

[Question] How to draw a rectangle in a page #5

mantielero opened this issue Oct 12, 2020 · 1 comment
Labels
question Further information is requested

Comments

@mantielero
Copy link

I would like to use the rubberband to draw a rectangle on a page. How can I do that?

@wbsoft
Copy link
Contributor

wbsoft commented Oct 22, 2020

Good question; the rubberband was designed to let the user interact with it. If you want to display the Rubberband programmatically, you should use setSelection(). The user then still can interact with it and change the selection.

@wbsoft wbsoft added the question Further information is requested label Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants