Is it possible to flip an image in Studio? I know that this is possible outside of Studio of course, but I’m just wondering if there is a way to do it in Studio.
I’d want to flip it like shown in the image below.
Is it possible to flip an image in Studio? I know that this is possible outside of Studio of course, but I’m just wondering if there is a way to do it in Studio.
I’d want to flip it like shown in the image below.
…What? What do you mean possible outside of Studio? You mean in an image editor?
Yes. Change ImageRectOffset to be (image width, 0) and change ImageRectSize to be (-image width, image height).
I did this with the default label. Unflipped:
Flipped:
Properties:
I mean that it’s always possible to flip images in Photoshop & programs like that. I get an warning “outside of bounds” from using ImageRectOffset and ImageRectSize.
Here are the properties of the image.
It’s just that - a warning. Warnings are for your consideration, but they aren’t rules.
You can do this safely.
ImageButtons have the same image properties as ImageLabels. You can safely use the ImageRect… properties. This only affects the bounds of the image, and they are coordinates in image space, so other size and position properties won’t be affected.
They are measured in pixels. Use the dimensions of the image itself, not the Scale of your ImageButton. Look at my screenshot; the image is 1024x1024, so those are the dimensions I used, even though the ImageLabel itself is 100x100 in Size.
Thanks for the help with the image flip!