RasterMenu.showAt( x, y [, adjustToFit] )
Show the menu at the given X,Y page coordinates.
Parameters
Name |
Type |
|
Description |
x |
number |
|
X position in pixels |
y |
number |
|
Y position in pixels |
adjustToFit |
boolean |
optional |
Set to true to allow the menu to be shifted
out of the given x,y coordinates and prevent the menu
from showing off-screen. Omit this argument or set
to false to show the menu at exactly the given x,y coordinates. |
Returns
Type |
Description |
object |
The menu object. This allow for chaining multiple setter methods in
one single statement. |