diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-07-14 22:20:12 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-07-15 11:50:42 +0300 |
commit | 7e66903d5610ea5c72852d11b29c3f1a31a5aa00 (patch) | |
tree | cacc8502b8c0803d3554dd2002eda6db582eb26a /doc/classes | |
parent | 9904a9db5a90f2f1896b6b7e1603ca2dd2745bad (diff) |
Implement `rotate_90/rotate_180` functions to `Image`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Image.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 31bd938c40..4735e63783 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -378,6 +378,19 @@ Converts a standard RGBE (Red Green Blue Exponent) image to an sRGB image. </description> </method> + <method name="rotate_180"> + <return type="void" /> + <description> + Rotates the image by [code]180[/code] degrees. The width and height of the image must be greater than [code]1[/code]. + </description> + </method> + <method name="rotate_90"> + <return type="void" /> + <argument index="0" name="direction" type="int" enum="ClockDirection" /> + <description> + Rotates the image in the specified [code]direction[/code] by [code]90[/code] degrees. The width and height of the image must be greater than [code]1[/code]. If the width and height are not equal, the image will be resized. + </description> + </method> <method name="save_exr" qualifiers="const"> <return type="int" enum="Error" /> <argument index="0" name="path" type="String" /> |