TouchPoint

class TouchPoint(val delegate: TouchPoint) extends SFXDelegate[TouchPoint]
Companion
object
trait SFXDelegate[TouchPoint]
class Object
trait Matchable
class Any

Value members

Concrete methods

def belongsTo(target: EventTarget): Boolean

Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.

Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.

def grab(): Unit

Grabs this touch point by current event source.

Grabs this touch point by current event source.

def grab(target: EventTarget): Unit

Grabs this touch point by the given target.

Grabs this touch point by the given target.

Gets event target which has grabbed this touch point.

Gets event target which has grabbed this touch point.

def id: Int

Gets identifier of this touch point.

Gets identifier of this touch point.

def sceneX: Double

Gets the horizontal position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Gets the horizontal position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

def sceneY: Double

Gets the vertical position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Gets the vertical position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

def screenX: Double

Gets the absolute horizontal position of the touch point.

Gets the absolute horizontal position of the touch point.

def screenY: Double

Gets the absolute vertical position of the touch point.

Gets the absolute vertical position of the touch point.

def state: State

Gets state of this touch point

Gets state of this touch point

Gets event target on which the touch event carrying this touch point is fired.

Gets event target on which the touch event carrying this touch point is fired.

def ungrab(): Unit
def x: Double

Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.

Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.

def y: Double

Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.

Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: TouchPoint