slices

Specifies how many angles a line can snap to when drawing a line or irregular polygon with the Shift key held down.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

set the slices to number

# Examples

set the slices to 4 -- only 90-degree angles with shift key

set the slices to card field 2

# 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).

# Tags

# See

- **keyword:** integer, polygon, line - **glossary:** property, degree - **property:** polySides, centered, grid