revRotatePoly | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Rotates a graphic by a specified angle. | |||||||||
Introduced | 1.1.1 | |||||||||
OS | mac, windows, linux | |||||||||
Platforms | desktop, server | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Keyword: select, graphic Property: angle Message: startup, openBackground, preOpenStack, openStack, preOpenCard Command: flip, rotate Glossary: command, evaluate, main stack, handler, message, group, standalone application, expression, statement, graphic, application Library: Common library, library | |||||||||
Description | Use the revRotatePoly command to rotate a line, curve, or irregular polygon graphic.
Instead, use a form that evaluates to a graphic reference, like this:
The angleInDegrees is a number, or an expression that evaluates to a number. If the angleInDegrees is positive, the image rotates counterclockwise. If the angleInDegrees is negative, the image rotates clockwise.
| |||||||||
Tags | ui |