slices | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies how many angles a line can snap to when drawing a line or irregular polygon with the Shift key held down. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer, polygon, line Glossary: property, degree Property: polySides, centered, grid | ||||||
Description | Use the slices property to draw lines at specified angles. The slices property is specified in degrees. 360 (the number of degrees in a full circle) divided by the slices yields the angle of each slice to the next slice. For example, if the slices is set to 16, the angle of a line drawn with the Shift key held down can be any multiple of 22.5 degrees (360 divided by 16). |