flip

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
flip [<imageRef>] {horizontal | vertical}
Summary

Invert an image horizontally or vertically.

Introduced1.1
OSmac, windows, linux
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
imageRef

Any image reference.

Example
flip vertical
flip image 1 vertical
flip image "Logo" horizontal
RelatedCommand: choose, crop, revRotatePoly
Glossary: command, referenced control, paint tool
Keyword: image
Description

Use the flip command to turn an image over.

The vertical form flips the image vertically, swapping its top and bottom. The horizontal form flips the image side to side, swapping its right and left.

If you don't specify an image, the portion currently selected with the Select paint tool is flipped.

The flipping operation is its own inverse: flipping an image twice in the same direction restores it to its original appearance.

Important: Flipping a referenced image changes its orientation only temporarily. The next time the referenced image is displayed, its original orientation returns.

Tagsmultimedia