The latest version of this document can be found at www.broad.ology.org.uk/amiga/sketchblock/erasetool.html

SketchBlock 3.4 - Digital Sketching For The Amiga (SVN: 386:520M)

Erase Tool

The erase tool enables parts of a layer to be erased. If the layer has an alpha channel then erase sections become transparent, if it does not then erased sections are effectivelt painted with the background colour.

Erase Tool Settings

When the Erase tool is active the settings for the tool can be modified via the settings panel in the Tools Window.(Shown Right)

The following attributes can be controlled.

Erase Tool ARexx Commands

To pass ARexx commands to the Paint tool you must use the SketchBlock ARexx command COMMANDTOOL

SET

PRESSURESIZE/S,PRESSUREOPACITY/S,PRESSUREHARDNESS/S,PROGRESSIVE/S,OPACITY/N/A,SCALE/N/A

Sets the Erase settings to the provided values. All the settings are updated so all required terms must be specified.
PRESSURESIZE/S
If present this switch enables pressure sensitive size. If not present it disables pressure sensitive size.
PRESSUREOPACITY/S
If present this switch enables pressure sensitive opacity. If not present it disables pressure sensitive opacity.
PRESSUREHARDNESS/S
If present this switch enables pressure sensitive hardness. If not present it disables pressure sensitive hardness.
PROGRESSIVE/S
If present this switch enables progressive painting. If not present it disables progressive painting.
OPACITY/N/A
This sets the opacity of the erase stroke, it takes a value from 0 to 100
SCALE/N/A
This sets the scaling of the erase stroke, it takes a value from 0 to 500 (although the smallest resulting brush size is always 1 pixel square)

GET

STEM/K

Retrieves the current settings via a STEM varaible.
STEM/K
Pass the variable to which the settings will be added. The values will be added to the stem variable useing the name above with no index component. eg If the STEM var was FOO pressure size will be added as FOO.PRESSURESIZE

The latest version of this document can be found at www.broad.ology.org.uk/amiga/sketchblock/erasetool.html