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

UiImage helper functions #8199

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Conversation

ickshonpe
Copy link
Contributor

@ickshonpe ickshonpe commented Mar 24, 2023

Objective

Add helper functions to UiImage for creating flipped images.

Changelog

  • Added with_flip_x and with_flip_y methods to UiImage that return the UiImage flipped along the respective axis.

* Added `with_flip_x` and `with_flip_y` methods to `UiImage` that flip the image in the respective axis.
@ickshonpe ickshonpe changed the title UiImage helper methods UiImage helper functions Mar 24, 2023
@cart
Copy link
Member

cart commented Apr 5, 2023

Generally hesitant to add builders / encourage their use over struct init syntax. But in this case I think its reasonable.

@cart cart enabled auto-merge April 5, 2023 21:45
@cart cart added this pull request to the merge queue Apr 5, 2023
Merged via the queue into bevyengine:main with commit ff9f223 Apr 5, 2023
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.

2 participants