Ellipse can be used to attract the cursor to the inside of the ellipse, keep the cursor outside of the ellipse, or attract the cursor to the border surrounding the ellipse. Common uses of ellipse are for snapping to grid points or nodes, or attracting the cursor to icons. Enclosure effect is only available to TouchSense mouse devices only.

Figure 12. Ellipse Effect Editor
Ellipse Coordinates
The top/bottom/left/right fields in the editor let you specify the location of the ellipse by typing values into them. You may choose to specify the ellipse coordinates with center and width/height.
One thing to keep in mind: The editor works with your screen dimensions. But the users may have a different screen size than yours. So be careful not to set coordinate values that are adequate on your screen but too big for other users.
Wall Stiffness
The Stiffness setting let you set the stiffness of walls.
Wall Saturation
The Saturation setting let you set the maximum strength of walls.
Wall Thickness
The Thickness setting let you set the width walls. There is a spin control allows you to adjust wall thickness by clicking on the spin arrows.
Wall Mask
You may turn on/off inner or outer side of walls in the Wall Mask list box.
Clipping Mask
You may turn on/off the clipping of inner or outer side of walls by select/de-select each clipping in the Clipping Mask list box.
Rotation
You may rotate an ellipse around its center. The angle value must be an integer from 0 to 359. The angle starts from the right horizon and going CLOCKWISE. When the enclosure effect is rotated, it can not be moved or resized by dragging the handle or interior anymore.
Display
The black display region represents the screen you are working on. (It may not be black if a background bitmap is used -- see below.) The inside effect is green, while the walls are dark green or brown, depending on whether the wall stiffness is positive or negative. The position of the mouse mapped to the display window is represented with a miniature arrow. When you start the effect and move the mouse, you may feel the force of the walls when the miniature arrow moves close to the walls within the display window.
Visual Editing
To further enhance the ease of effect editing, Ellipse editor provides visual editing. When you move the real cursor inside the Ellipse in the display window, the cursor changes into a cross. You may drag the represented Ellipse to move its coordinates. A skeleton will show with your cursor to indicate where the effect will be. The editing fields also update their values to show you the new coordinate of the effect.
A red handle is displayed at the lower right corner of the displayed Ellipse. You may drag it to resize the Ellipse. The cursor changes to resize arrows when it gets to the resize handle. Again the skeleton and edit fields show the new coordinates of the effect.
A blue handle is displayed at the upper right corner of the Ellipse effect. When the cursor is on top of the blue handle, the cursor turns into arc arrows to indicate you may rotate the enclosure by dragging the rotation handle. Again the skeleton shows the new angle of the effect.
You can toggle the visibility of the enclosure by pressing the F5 key. This may be useful, for example, to allow experience the enclosure against the background bitmap as it will be experienced in the game.
Background Bitmap
You may load a background bitmap to help you position the enclosure effect. Go to Load Background Bitmap command under the View menu. Then select a BMP or JPEG file from the Open File dialog. After the bitmap file is loaded, it will be displayed in the Enclosure desktop window. It can be displayed in 4 modes: (Align) the upper left corner, center, stretch and blank. You may change the background bitmap anytime by reload a new one. You may change the display mode anytime too.
Full Screen Editing
To make the editing easy for the developers, the Ellipse support Full Screen editing mode. Just press F4 key and you can toggle between Full Screen editing or windowed editing. Full screen editing, with background bitmap display, give you the authentic feeling of the effects in the application.
On Screen Testing
To further provide the "being there" feeling, Ellipse editor can turn off the display of the enclosure walls, etc with the F5 key. Pushing F5 will toggle between display on/off of the enclosure effects. When the effect display is turned off, with the background bitmap display, you see what your customers will see on the screen. You may then use F8 key to turn On/Off the effect to get the same feeling your customer will get in your applications. During these "testing", the visual editing of move/scale/rotate is turned off to avoid confusion.
Quick Keys Editing
There are times you may want to adjust the enclosure in a tiny amount. For example, to move the effect left by one pixel. To utilize visual editing to achieve such adjustment will be challenging. You may go to Windowed display mode and type in the right values of the edit fields. But it is tedious. To help the user achieve this kind of editing easily, Immersion Studio provides quick keys to shift/resize effects and to change the wall width.
To shift the effect by one pixel, hold down SHIFT key and one of the arrow keys. Then the effect will move up/ down/ left/ right by 1 pixel continuously till you release the key.
To resize the effect, hold down CONTROL key and one of the arrow keys. The effect will be resized at the lower right corner of the ellipse.
To change the width of the walls, just hold down arrow keys.
Time
The start delay and duration
of the effect can be adjusting the slider bar or by typing a value (in seconds)
into the Delay and Duration fields. To set the effect to run forever, push in
the Infinity button adjacent to the Duration field. ![]()
Start (F8)
Start initiates the effect.
Stop (F8)
Stop ends the effect.
Defaults
This button resets all values to their default setting.
Revert
This button allows you to revert to original setting when the editor was opened.