
287
EXTENDING FIREWORKS
Cross-Product Extensions
Las
t
up
d
a
ted
12/8/2009
matrix
dictionary
<dict>
<array key="matrix">
<double value="1.0" />
<double value="0.0" />
<double value="0.0" />
<double value="0.0" />
<double value="1.0" />
<double value="0.0" />
<double value="0.0" />
<double value="0.0" />
<double value="1.0" />
</array>
</dict>
A matrix is a dictionary that contains one
subelement key:
matrix
. A matrix is an array of
nine float elements. The elements start at the top
row and go in row-major order.
null
null
<null />
Types map identically.
object
server object, or
dictionary
<obj value="1" />
For an object type, the client can simply specify a
server object. However, for certain objects (such
as objects of the
Effect
class) a dictionary can be
constructed and then used. If the client creates a
dictionary, all properties of the class must be
added to the dictionary with the correct type.
point
dictionary
<dict>
<double key="x"
value="300.4" />
<double key="y"
value="234.0" />
</dict>
A point is a dictionary with two subelement keys:
x
and
y
. Both subelements are float data types.
rect
dictionary
<dict>
<double key="top"
value="300.4" />
<double key="left"
value="234.0" />
<double key="bottom"
value="500.6" />
<double key="right"
value="564.0" />
</dict>
A rect is a dictionary with four subelement keys:
top
,
left
,
bottom
, and
right
. All four
subelements are float data types.
resolution
dictionary
<dict>
<string key="units"
value="inch" />
<double key="pixelsPerUnit"
value="72.0" />
</dict>
A resolution is a dictionary with two subelement
keys:
units
and
pixelsPerUnit
. The
units
key can be any of these strings:
inch
,
cm
, or
pixels
.The
pixelsPerUnit
key is a float data
type.
DOM data type
RPC data type
Example
Description
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...