onUp 
  fun onUp(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>(source)
Emitted when the stylus no longer touches the device.
Parameters
connectFlags 
a combination of ConnectFlags
handler
the Callback to connect. Params: x the X coordinate of the stylus event; y the Y coordinate of the stylus event