Ejemplo n.º 1
0
 /// <summary>
 /// Enables touch interaction for the specified EaselJS stage. Currently supports iOS (and compatible browsers, such as modern Android browsers), and IE10.
 /// Supports both single touch and multi-touch modes.
 /// Extends the EaselJS MouseEvent model, but without support for double click or over/out events. See MouseEvent.pointerID for more information.
 /// </summary>
 /// <param name="stage">The stage to enable touch on.</param>
 /// <param name="singleTouch">If true, only a single touch will be active at a time. Default is false.</param>
 /// <param name="allowDefault">If true, then default gesture actions (ex. scrolling, zooming)
 /// will be allowed when the user is interacting with the target canvas. Default is false.</param>
 /// <returns>Returns true if touch was successfully enabled on the target stage.</returns>
 public static bool enable(Stage stage, bool singleTouch, bool allowDefault) { return false; }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes all listeners that were set up when calling Touch.enable on a stage.
 /// </summary>
 /// <param name="stage">The stage to disable touch on.</param>
 public static void disable(Stage stage) { }