Image.flip
Jump to navigation
Jump to search
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)