Difference between revisions of "Image.flip"
Jump to navigation
Jump to search
(Created page with "<c>Image.flip</c> sets the image to be drawn either flipped vertically or horizontally. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Val...") |
(No difference)
|
Revision as of 02:50, 18 January 2025
Image.flip
sets the image to be drawn either flipped vertically or horizontally.
Arguments
Parameter Name | Type | Default Value | Meaning |
---|---|---|---|
direction | boolean | true | flips the image horizontally when true and vertically when false |
Example
img = file.loadImage("/sys/pics/Wumpus.png")
img.flip(true)