ForceTap Events

ForceTap events receive the gesture event properties.
译:forcetap事件接收手势事件属性。

  1. Events.ForceTap — Tap with high pressure. 译:具有压力高度的点击

  2. Events.ForceTapChange — Tap pressure sensitivity change. 译:改变压力点击的灵敏度

  3. Events.ForceTapStart — Start tap with high pressure. 译:具有压力高度的点击开始

  4. Events.ForceTapEnd — End tap with high pressure. 译:具有压力高度的点击结束

layerA = new Layer

layerA.on Events.ForceTap, (event) ->
    print "Force tap"

ForceTap Event Shortcuts
译:forcetap事件的快捷键

# For Events.ForceTap 
layerA.onForceTap ->
    print "Force tap"

# For Events.ForceTapChange 
layerA.onForceTapChange ->
    print "Change of force tap pressure"

# For Events.ForceTapStart 
layerA.onForceTapStart ->
    print "Start force tap"

# For Events.ForceTapEnd 
layerA.onForceTapEnd ->
    print "End force tap"

results matching ""

    No results matching ""