ADOBE FIREWORKS CS3
136
Extending Guide
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
Acceptable values are
and
.
placement
"top"
"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
,
, and
Points that specify the x,y coordinates of the three points used to calculate the fill vector (see "Point
p1
p2
p3
data type" on page 6).
Returns
Nothing.
Description
Sets the fill vectors of the selection to the specified absolute values.