or getTooltip(id).settings.frame("frame-style frame-width frame-color") (since beta 0.3)

Will add a frame surrounding the element to which the tooltip is attached when it is printed. You can optionally define the aesthetics of the frame by passing a string following the CSS format for borders.

[js highlight=”5″ try=”true”]newImage(“myImage”, “square.png”)
newTooltip(“myTooltip”, “This is a square”)
.print( getImage(“myImage”) )

Adds an image to the page, surrounds it by a 1px, dotted, gray frame (by default) and places a box with the text This is a square to its bottom-right corner. Both the frame and the tooltip disappear when the tooltip is validated.