mnit :: MotionEvent
PointerEvent
Example of a MotionEvent
a gesture such as pinching using two fingers.
mnit :: MotionEvent :: defaultinit
mnit :: MotionEvent :: down_pointer
Which pointer is down, if anymnit $ MotionEvent :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
mnit :: InputEvent :: defaultinit
mnit :: MotionEvent :: defaultinit
mnit :: MotionEvent :: down_pointer
Which pointer is down, if anycore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).pointers
# A motion event on screen composed of many `PointerEvent`
#
# Example of a `MotionEvent` a gesture such as pinching using two fingers.
interface MotionEvent
super InputEvent
# A pointer just went down?
fun just_went_down: Bool is abstract
# Which pointer is down, if any
fun down_pointer: nullable PointerEvent is abstract
end
lib/mnit/input.nit:52,1--63,3