Package | com.yworks.canvas.input |
Class | public class CanvasContextMenuEvent |
Inheritance | CanvasContextMenuEvent flash.events.ContextMenuEvent |
ContextMenuEvents
and includes additional
properties related to the CanvasComponent
.
Property | Defined By | ||
---|---|---|---|
context : IInputModeContext [read-only]
The context this event was dispatched from. | CanvasContextMenuEvent | ||
viewCoords : IPoint [read-only]
The view coordinates at which the event occurred. | CanvasContextMenuEvent | ||
viewX : Number [read-only]
The horizontal view coordinate at which the event occurred. | CanvasContextMenuEvent | ||
viewY : Number [read-only]
The vertical view coordinate at which the event occurred. | CanvasContextMenuEvent | ||
worldCoords : IPoint [read-only]
The world coordinates at which the event occurred. | CanvasContextMenuEvent | ||
worldX : Number [read-only]
The horizontal view coordinate at which the event occurred. | CanvasContextMenuEvent | ||
worldY : Number [read-only]
The vertical view coordinate at which the event occurred. | CanvasContextMenuEvent |
Method | Defined By | ||
---|---|---|---|
CanvasContextMenuEvent(evt:ContextMenuEvent, viewCoords:IPoint, worldCoords:IPoint, context:IInputModeContext) | CanvasContextMenuEvent | ||
clone():Event [override] | CanvasContextMenuEvent |
Constant | Defined By | ||
---|---|---|---|
MENU_SELECT : String = menuSelect [static]
| CanvasContextMenuEvent |
context | property |
context:IInputModeContext
[read-only] The context this event was dispatched from.
public function get context():IInputModeContext
viewCoords | property |
viewCoords:IPoint
[read-only] The view coordinates at which the event occurred.
public function get viewCoords():IPoint
viewX | property |
viewX:Number
[read-only] The horizontal view coordinate at which the event occurred.
public function get viewX():Number
viewY | property |
viewY:Number
[read-only] The vertical view coordinate at which the event occurred.
public function get viewY():Number
worldCoords | property |
worldCoords:IPoint
[read-only] The world coordinates at which the event occurred.
public function get worldCoords():IPoint
worldX | property |
worldX:Number
[read-only] The horizontal view coordinate at which the event occurred.
public function get worldX():Number
worldY | property |
worldY:Number
[read-only] The vertical view coordinate at which the event occurred.
public function get worldY():Number
CanvasContextMenuEvent | () | Constructor |
public function CanvasContextMenuEvent(evt:ContextMenuEvent, viewCoords:IPoint, worldCoords:IPoint, context:IInputModeContext)
evt:ContextMenuEvent | |
viewCoords:IPoint | |
worldCoords:IPoint | |
context:IInputModeContext |
clone | () | method |
override public function clone():Event
ReturnsEvent |
MENU_SELECT | Constant |
public static const MENU_SELECT:String = menuSelect