
153
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Description
Sets the selection to the specified fill, fill color, and fill texture.
Example
The following command sets the selected items to a linear fill with a feather edge and no texture:
fw.getDocumentDOM().setFillNColorNTexture({ category:"fc_Linear", ditherColors:[ "#000000",
"#000000" ], edgeType:"antialiased", feather:10, gradient:{ name:"cn_WhiteBlack", nodes:[ {
color:"#ffffff", position:0 }, { color:"#000000", position:1 } ] }, name:"fn_Normal",
pattern:null, shape:"linear", stampingMode:"blend opaque", textureBlend:0,
webDitherTransparent:false }, "#666666", "Grain");
dom.setFillPlacement()
Availability
Fireworks 3.
Usage
dom.setFillPlacement(
placement
)
Arguments
placement
Acceptable values are
"top"
and
"bottom"
.
Returns
Nothing.
Description
Sets the fill placement for selected items with fills.
dom.setFillVector()
Availability
Fireworks 3.
Usage
dom.setFillVector(p1, p2, p3)
Arguments
p1
,
p2
, and
p3
Points that specify the
x,y
coordinates of the three points used to calculate the fill vector (see “
Point
data type
” on page 8).
Returns
Nothing.
Description
Sets the fill vectors of the selection to the specified absolute values.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...