Returns
Nothing.
Description
Sets the selection to the specified fill and fill color.
dom.setFillNColorNTexture()
Availability
Fireworks 3.
Usage
dom.setFillNColorNTexture(fill, color, texture-name)
Arguments
A Fill object (see
fill
A color string (see
color
The name of the texture to be applied.
texture-name
Returns
Nothing.
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");
266
Fireworks JavaScript API
"Fill object" on page
"Color string data type" on page
64).
11).
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers