| Package | com.distriqt.extension.forcetouch.events |
| Class | public class ForceTouchEvent |
| Inheritance | ForceTouchEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| pressure : Number
Force pressure percent of the touch
This is a value between 0 and 1
| ForceTouchEvent | ||
| x : Number
Stage x position of the touch event
| ForceTouchEvent | ||
| y : Number
Stage y position of the touch event
| ForceTouchEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ForceTouchEvent(type:String, x:Number = 0, y:Number = 0, pressure:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false) | ForceTouchEvent | ||
clone():Event [override] | ForceTouchEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| ENDED : String = forceTouch:touch:end [static]
| ForceTouchEvent | ||
| MAX_PRESS : String = forceTouch:touch:maxPress [static]
| ForceTouchEvent | ||
| PRESS : String = forceTouch:touch:press [static]
| ForceTouchEvent | ||
| pressure | property |
public var pressure:NumberForce pressure percent of the touch This is a value between 0 and 1
| x | property |
public var x:NumberStage x position of the touch event
| y | property |
public var y:NumberStage y position of the touch event
| ForceTouchEvent | () | Constructor |
public function ForceTouchEvent(type:String, x:Number = 0, y:Number = 0, pressure:Number = 0, bubbles:Boolean = true, cancelable:Boolean = false)type:String | |
x:Number (default = 0) | |
y:Number (default = 0) | |
pressure:Number (default = 0) | |
bubbles:Boolean (default = true) | |
cancelable:Boolean (default = false) |
| clone | () | method |
override public function clone():EventReturnsEvent |
| ENDED | Constant |
public static const ENDED:String = forceTouch:touch:end
| MAX_PRESS | Constant |
public static const MAX_PRESS:String = forceTouch:touch:maxPress
| PRESS | Constant |
public static const PRESS:String = forceTouch:touch:press