setPosition(x: Number, y: Number, freeArea: PP.Rect, color: PP.Color, borderColor: PP.Color) : PP.Ui.BubbleTreeAlignment;
x. X coordinate.
y. Y coordinate.
freeArea. Parent element area that is available for placing. After finishing the method the area occupied with this component is removed from the parent area.
color. Tooltip background color.
borderColor. Tooltip border color.
The setPosition method sets new position of tooltip.
The method returns the side, at which the tooltip is located - member of the PP.Ui.BubbleTreeAlignment class.
The example of use is given on the page with description of the Balloon.HoverMode property.
See also: