Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

brush

set [the] brush to posInteger

where posInteger is a positive integer in the range 1 through 32.

The brush property returns or sets the current brush shape used by the Brush tool.

The value of the brush property represents a brush shape from the Brush Shape dialog box. The default brush is 8.

Brush IDs are organized top to bottom and then left to right from 1 to 32. Top left is 1, below top left is 2, etc. Second column starts with brush 5.


Examples

set the brush to 1
set the brush to 32

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

Related Topics

« bottomRight | HyperTalk Reference | cantAbort »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

brush

set [the] brush to posInteger

where posInteger is a positive integer in the range 1 through 32.

The brush property returns or sets the current brush shape used by the Brush tool.

The value of the brush property represents a brush shape from the Brush Shape dialog box. The default brush is 8.

Brush IDs are organized top to bottom and then left to right from 1 to 32. Top left is 1, below top left is 2, etc. Second column starts with brush 5.


Examples

set the brush to 1
set the brush to 32

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

Related Topics

« bottomRight | HyperTalk Reference | cantAbort »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View