| Using the Symbol Editor > Using More Features of the Symbol Editor > Exploiting Advanced Graphics Features > Adding Intelligence to an Advanced Graphic |
Adding Intelligence to an Advanced Graphic |
INDEX
PREVIOUS
NEXT
|
The svgprogressbar symbol created in Converting SVG Images to Symbols is essentially the same as the basicprogressbar created in Changing Symbol Layers. That is, a collection of shapes where one object is expanded to display a change in real world events. The difference is that the svgprogressbar shown in Figure 2.3 is more pleasing visually than the basicprogressbar shown in Figure 1.60. As you will now see, it is much faster to add intelligence to a symbol made with advanced graphics. To add intelligence to an advanced graphic symbol you need to:
The svgprogressbar symbol contains 5 different objects layered one on top of the other. The GeneralPath3 object, as shown in Figure 2.3, is a red bar. To transform this object, do the following:
Name |
Type |
Allowed Value |
Allowed Value Name |
Default Value |
|---|---|---|---|---|
maxwidth |
Integer |
100 |
max |
max |
minwidth |
Integer |
0 |
min |
min |
problem |
Integer |
35 |
prob |
prob |
progress |
float |
0.1 |
For more information, see Adding Flexibility using Parameters.
| Note |
| When you test GeneralPath3 and progress is set to 100, the bar width is 345 pixels. |
Symbol graphics created by graphic artists using standard graphics packages have a finer look and feel. Importing advanced graphics into the Symbol Editor means symbols are created faster by the Symbol Editor. To add intelligence to a symbol based on SVG images, use exactly the same methods as you do for a basic symbol. See Planning a Project for the Symbol Editor to see the recommended workflow for creating symbols.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |