<< Click to Display Table of Contents >> NShape Reference
|
Retrieves the list of actions of the shape.
public abstract IEnumerable<MenuItemDef> GetMenuItemDefs( |
Actions describe a possible command for the shape. They are usually displayed as context menus in the user interface and create and execute a Command object when selected. The actions of a shape might depend on a position (for example of the mouse pointer). For instance, when clicking on a line segment, inserting an additional vertex is an option. When clicking outside the line, this action does not make sense.
Name |
Description |
---|---|
x |
X coordinate of the clicked position. |
y |
Y coordinate of the clicked position. |
range |
Range within which nearby control points are taken into account when determine the possible actions. |
Enumerator of the actions.
None