
94
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
ptToInsertBefore
A zero-based index that specifies where the new point should be placed on the path. The new
point is appended in front of the point that this integer represents: To add a point to the beginning of the path, pass
0
;
to add a point to the end of the path, pass a large number.
tParameter
A floating-point value between 0 and 1 that specifies where to insert the new point in the Bézier segment.
controlPointFirst
,
mainPoint
, and
controlPointLast
Points that specify the
x,y
coordinates of the preceding
control point, the main point, and the following control point of the new point (see “
Point data type
” on page 8).
Returns
Nothing.
Description
Inserts a Bézier point in the selected path. This function is similar to
dom.appendPointToPath()
but includes a
tParameter
argument, which lets you control where the point is inserted.
See also
dom.appendPointToPath()
dom.insertSmartShapeAt()
Availability
Fireworks MX 2004.
Usage
dom.insertSmartShapeAt(
name, location, useToolBlendModeOpacity
)
Arguments
name
A string specifying the name of the Auto Shape.
location
The upper-left point of the Auto Shape.
useToolBlendModeOpacity
Determines whether the new shape object should have the blend mode and opacity
settings set for the Auto Shape Tools (set by the user in the Property inspector), or use standard values. The
bUseToolBlendModeOpacity
argument is a Boolean value:
true
if the shape will use the blend mode and opacity set
for the Auto Shape Tools;
false
if the shape will use the standard values (alpha blend mode and 100% opacity).
Returns
Nothing.
Description
Inserts an Auto Shape at the specified location.
dom.insertSymbolAt()
Availability
Fireworks 8.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...