| Using the Symbol Editor > Using More Features of the Symbol Editor > Working with Interactors > Creating a Rotation Interactor |
Creating a Rotation Interactor |
INDEX
PREVIOUS
NEXT
|
A rotation interactor is used to revolve a symbol object when the mouse hovers over an object in a symbol. The rotation interactor changes the value of the parameter to which it is bound. This change in parameter value is used to make a rotation transformation on the object bound to the parameter. For example, if you rotate the mouse over a dial symbol, the dial knob rotates with the mouse.
To add a rotation interactor to a symbol, do the following:
nobvista.svg image from the <installdir>/jviews-diagrammer81/bin/symboleditor/data/examples directory. The SVG image creates an SVG object. For more information, see Importing a Vector Graphic.
rotation. For more information, see Creating a New Parameter.
When you test this symbol, click on the symbol and drag the mouse in circles. The dial now follows the movement of the mouse.
| Note |
Objects with an associated interactor are indicated with a star
in the Symbol Outline pane.
|
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |