Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » lineSize

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

lineSize

set [the] lineSize to posInteger

where posInteger is 1, 2, 3, 4, 6, or 8.

The lineSize property returns or sets the thickness, in pixels, of lines drawn by the Paint tools. It corresponds to the line size you select in the Line Size dialog box. (The Line Size dialog box appears when you choose Line Size from the Options menu.)

The default value is 1.

Examples

set the lineSize to 1
set the lineSize to 6

Related Topics

Placeholders

posInteger

An expression that evaluates to a positive integer.

For example:

3
67 mod 13
the number of bg fields
the number of backgrounds
the number of cards div 2

See also: background, bkgnd, button, card, chunk, field, menu, and menuItem

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View