語言

GestureDetector.FlingEventArgs 類別

定義

提供管理回撥事件的資料。

public class GestureDetector.FlingEventArgs : EventArgs
type GestureDetector.FlingEventArgs = class
    inherit EventArgs
繼承
GestureDetector.FlingEventArgs

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

建構函式

名稱 Description
GestureDetector.FlingEventArgs(Boolean, MotionEvent, MotionEvent, Single, Single)

初始化傳送給相關回撥的受管理事件資料。

屬性

名稱 Description
E1

在拋擲手勢中觸發第一個動作事件。

E2

會觸發結束拋擲手勢的動作事件。

Handled

取得或設定回調結果是否被處理。

VelocityX

可以得到水平拋射速度(以每秒像素數為單位)。

VelocityY

它能得到垂直拋射速度(以像素每秒為單位)。

適用於