lineSize

Specifies the thickness of lines and the borders of shapes drawn with the paint tools, or the thickness of lines and borders of graphic objects.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android, web Introduced: 1.0 Security:

# Syntax

set the lineSize [of graphic] to widthInPixels

# Examples

set the lineSize to 3 -- 3-pixels lines will be used in paint tools

set the lineSize of graphic "Rectangular Border" to 9

# Description

Use the lineSize property to set the thickness of the line used for line, curve, and polygon shapes, and the outline used with the oval, rectangle, and roundRect shapes.

If the lineSize property is set to zero, the lines in the graphic disappear.

The global setting of the lineSize property controls the appearance of shapes drawn with the paint tools. Once a paint shape is drawn, its appearance cannot be changed by changing the global lineSize property.

>*Warning:* Setting the lineSize of a graphic to a value greater > than the height or width of the stack window may cause problems on > Unix, and looks strange on any platform.

# Tags

ui,

# See

- **keyword:** integer, polygon, graphic - **property:** brushColor, multiple, arrowSize, roundEnds, markerLineSize - **command:** global, choose - **function:** platform - **glossary:** property, paint tool, appearance, Unix, stack window - **object:** graphic