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

Add Image methods to allow stretching #15

Open
pcantrell opened this issue Oct 15, 2020 · 0 comments
Open

Add Image methods to allow stretching #15

pcantrell opened this issue Oct 15, 2020 · 0 comments

Comments

@pcantrell
Copy link
Contributor

Problem

It’s currently not possible to stretch an Image beyond the source image file’s dimensions — to fill the background of a window, for example.

Desired solution

One possible solution would be to add an explicit setSize() method that stretches the image regardless of its natural size.

Another would be to provide an option for the max width/height params to switch from their current “shrink to fit” effect to “stretch to fill.”

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

1 participant