This allows the user to decide which side of the image should be cropped when resizing to fit the containing Rect. This is a breaking change, and let me know if the API is okay. I could swap the boolean clip_bottom and clip_right values with enums, if you want!
I could also work on an example, if necessary. I tested it the project I need it for and it works, but if you want something more robust I can definitely work on that.
This allows the user to decide which side of the image should be cropped when resizing to fit the containing
Rect
. This is a breaking change, and let me know if the API is okay. I could swap the booleanclip_bottom
andclip_right
values with enums, if you want!I could also work on an example, if necessary. I tested it the project I need it for and it works, but if you want something more robust I can definitely work on that.