Difference between revisions of "Image.rotate"
Jump to navigation
Jump to search
(Created page with "<c>Image.rotate</c> sets the image to be drawn at 90 degree increments. All other degree values will be ignored. Positive or negative values as well as those that fall o...") |
(No difference)
|
Revision as of 03:02, 18 January 2025
Image.rotate
sets the image to be drawn at 90 degree increments. All other degree values will be ignored. Positive or negative values as well as those that fall outside of 0 to 360 are valid so long as they are increments of 90 degrees.
Arguments
Parameter Name | Type | Default Value | Meaning |
---|---|---|---|
degrees | number | 90 | rotates the image by 90 degree increments |
Example
img = file.loadImage("/sys/pics/Wumpus.png")
img.rotate(180)