Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dynamic Interactivity > Viewers and Annotation > Overlay >
Mathematica > Dynamic Interactivity > Custom Interface Construction > Standalone Interfaces > Viewers and Annotation > Overlay >

Overlay

Overlay
displays as an overlay of all the .
Overlay
displays as an overlay of , , ....
Overlay
allows selections to be made and controls to be clicked in .
  • The can be graphics, text, or any other expressions.
  • In Overlay the later are rendered on top of earlier ones.
  • Overlay[exprs] by default allows no selection within the exprs.
  • The following options can be given:
Alignment{Automatic,Automatic}how to align objects in the display area
BackgroundNonebackground color to use
BaselinePositionAutomaticwhat to align with a surrounding text baseline
BaseStyle{}base style specifications for the displayed object
FrameMarginsAutomaticmargins to leave inside the overall frame
ImageMargins0margins around the image of the displayed object
ImageSizeAllthe overall image size for the displayed object
  • With the default option setting ImageSize->All, Overlay always leaves space for the largest of the to be displayed, so that its overall size does not change.
  • The settings for BaseStyle are appended to the default style given by the style in the current stylesheet.
Overlay two expressions:
Overlay two graphics:
Overlay two expressions:
In[1]:=
Click for copyable input
Out[1]=
 
Overlay two graphics:
In[1]:=
Click for copyable input
Out[1]=
Overlay many objects:
Overlay two-dimensional and three-dimensional graphics:
Overlay text and graphics:
Use a nondefault ordering:
Allow clicks in the back layer:
Overlay with a single element is similar in behavior to a PaneSelector:
Align objects:
Set the background:
Make a new character from existing characters:
Watermark an output:
Create an image map using invisible controls overlaid onto an image:
The controls create a photorealistic, fully functional numeric keypad:
Use Overlay to make a fading transition effect:
Create a decorative frame for a 3D object which can still be rotated:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF