Deutsches LiveCode Wiki
Advertisement

Specifies the shape used for the Eraser paint tool.Syntax:

set the eraser to {<brushID> | <imageID>}

Examples:

set the eraser to 12

Use the eraser property to specify which shape is painted by the Eraser tool.

The entire area of the eraser cursor is used as the eraser shape. The shape erased by the eraser is cleared to transparent, regardless of what colors might be in the image used for the eraser shape.

When the Eraser tool is in use, the cursor is the same as the eraser shape. You can use any size image as an eraser, but the cursor may appear distorted on some systems if the image is not 16x16 pixels.

See also: spray (property),brush (property),

Advertisement