effect_config
|
effect_type
|
motion_path
|
|
Use this attribute to display the handles
for editing the x and y coordinates of the motion path.
|
config_item
|
display_name
|
|
String
|
Specify the name of the configuration item
(property) displayed to users on the Effects panel.
|
effect_property
|
property_value
This
attribute is mandatory.
|
|
String
|
Specify the value of the configuration item.
This value must be the same as the one that corresponds to the appropriate
property in the ‘Keyframes’ element.
For example, in the Glow.XML
file (Gallery > Effects > Filters), the Keyframe element contains
BLUR_X as the value for blurX. To make the value of ‘blur’ editable
from the user interface, add BLUR_X as the property_value in the
effect_config element.
|
| |
default_value
|
|
Number
|
Specify the default value displayed on the
user interface.
|
| |
valid_range
Syntax: valid_range="{{0,255}}"
|
|
Number
|
Specify the range of values applicable for
the configuration item. For example, valid_range="{{0,255}}" indicates
that the lowest value is 0 and the highest is 255.
You can
specify the attribute ‘modifiers’ to modify the value specified
on the user interface.
|
| |
type
This attribute
is mandatory.
|
number
|
|
Use this type to indicate that the configuration
item is a number. You can specify the following attributes with this
type:
valid_range
increment
modifiers
decimal_places
|
| |
|
list
|
|
Use this type to indicate that the configuration
item is a drop-down list. You can specify the following attributes with
this type:
|
| |
|
color
|
|
Use this type to indicate that the configuration
item is to be associated with a color palette. You can specify the following
attributes with this type:
|
| |
|
bool
|
|
Use this type to indicate that the configuration
item is a Boolean. The configuration item is associated with a check
box.
The default value can be true or false.
|
| |
|
seperator
|
|
Use this type to separate the configuration
items with a horizontal space on the user interface.
This
type can be used only for the config_item element.
|
| |
increment
|
|
Number
|
Specify the value by which the parameter
must be incremented when you click the parameter value, hold-down
the mouse button, and move the mouse.
|
| |
modifiers
Syntax: modifiers= "{offset:0,multiplier:0.01}"
|
|
Number
|
Use this attribute to modify the value specified
on the user interface. Use Offset to increase or decrease the value
specified on the user interface. To decrease the user-specified
value, use a negative number as the Offset.
Use multiplier
to multiply the value specified on the user interface by a number.
This
attribute can be used with the type ‘number’ only.
|
| |
decimal_places
|
|
Number
|
Specify the number of decimal places to
be allowed for the configuration item. For example, a value of 3
allows you to specify 0.001 and not 0.00001.
|
list_item
(child
of effect_property and list_items)
|
name
|
|
String
|
Specify the name of the list item(s).
|
| |
value
|
|
Number
|
Specify the value that must be posted back
to the Keyframes section when users select a list item.
|
effect_sub_property
(child
of effect_property)
|
rgb
|
|
|
Use this attribute to specify the default
hexadecimal RGB number. For example, specify rgb=”ff0000” for red.
This
attribute is valid for the type ‘color’ only.
|
| |
alpha
|
|
Number
|
Use this attribute to specify the default
transparency of the color.
This attribute is valid for the
type ‘color’ only.
|