brush

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
brush
Summary

Designates the paint tool used to draw freehand brushstrokes in an image.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
choose brush tool
RelatedKeyword: image
Property: brush, brushPattern, brushColor
Command: choose
Function: tool
Glossary: keyword, property, paint tool
Description

Use the brush keyword to paint brushstrokes with the brushColor.

When using the Brush tool, the cursor is the shape specified by the brush property (over stack windows) or an arrow (anywhere else). This tool is used to brush the brushColor (or brushPattern) onto an image.

If you try to paint with the brush on a card that has no images, an image the size of the card is temporarily created to hold the painting that will disappear after changing card; an image must first be created in order to keep a painting. If the current card already has one or more images, painting outside the image has no effect.