brush | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Designates the paint tool used to draw freehand brushstrokes in an image. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: 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. |