Brush object

The following table lists the properties of the Brush object, along with their data types and, where appropriate, acceptable values and notes.

Property Data type Notes

alphaRemap

string

Acceptable values are "none", "white neon", "harsh wet", "smooth neon", "wavy gravy", and "white neon edge".

angle

integer

0 to 360

antiAliased

Boolean

If set to true, the brush edges are anti-aliased.

aspect

float

0 to 100

blackness

float

0 to 100

category

string

Determines in which subsection of the Stroke panel the brush will appear (for example, Pencil, Airbrush, and so on).

concentration

float

0 to 100

dashOffSize1, dashOffSize2, dashOffSize3

integer

The lengths in pixels of spaces for a dotted line, these values control the first, second, and third spaces, respectively.

dashOnSize1, dashOnSize2, dashOnSize3

integer

The lengths, in pixels, of dashes for a dotted line, these values control the first, second, and third dashes, respectively.

diameter

integer

0 to 1000

feedback

string

Acceptable values are "none", "brush", and "background".

flowRate

float

0 to 100

maxCount

integer

0 to 64

minSize

float

0 to 100

name

string

The name of the brush, which is visible in the Stroke panel.

numDashes

integer

0 to 3

sense_hdir_angle

float

The sense* properties map directly to the values on the Stroke Options > Advanced dialog > Sensitivity tab (accessible through the Brush property inspector stroke settings); where hdir is the horizontal value and vdir is the vertical value, and blackness is the build-up of black pixels as some tools brush over the same spot repeatedly (like the felt tip).

sense_hdir_blackness

float

sense_hdir_hue

float

sense_hdir_lightness

float

sense_hdir_opacity

float

 

sense_hdir_saturation

float

 

sense_hdir_scatter

float

 

sense_hdir_size

float

 

sense_pressure_angle

float

 

sense_pressure_blackness

float

 

sense_pressure_hue

float

 

sense_pressure_lightness

float

 

sense_pressure_opacity

float

 

sense_pressure_saturation

float

 

sense_pressure_scatter

float

 

sense_pressure_size

float

 

sense_random_angle

float

 

sense_random_blackness

float

 

sense_random_hue

float

 

sense_random_lightness

float

 

sense_random_opacity

float

 

sense_random_saturation

float

 

sense_random_scatter

float

 

sense_random_size

float

 

sense_speed_angle

float

 

sense_speed_blackness

float

 

sense_speed_hue

float

 

sense_speed_lightness

float

 

sense_speed_opacity

float

 

sense_speed_saturation

float

 

sense_speed_scatter

float

 

sense_speed_size

float

 

sense_vdir_angle

float

 

sense_vdir_blackness

float

 

sense_vdir_hue

float

 

sense_vdir_lightness

float

 

sense_vdir_opacity

float

 

sense_vdir_saturation

float

 

sense_vdir_scatter

float

 

sense_vdir_size

float

 

sensitivity_x_y

integer

0 to 100, where x is a value of pressure, speed, hDir, vDir, or random; and y is a value of: size, angle, opacity, blackness, scatter, hue, lightness, or saturation. For example, sensitivity_pressure_size.

shape

string

Acceptable values are "circle" and "square".

softenMode

string

Acceptable values are "bell curve" and "linear".

softness

float

0 to 100

spacing

float

0 to 500 (a percentage, as much as 500 percent)

textureBlend

float

0 to 100

textureEdge

float

0 to 100

tipColoringMode

string

Acceptable values are "random", "uniform", "complementary", "hue", and "shadow".

tipCount

integer

1 to 32

tipSpacing

float

0 to 100

tipSpacingMode

string

Acceptable values are "random", "diagonal", and "circular".

type

string

Acceptable values are "natural" and "simple".


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_25.htm