共用方式為


CPMapTemplateDelegate_Extensions.DidUpdatePanGesture 方法

定義

更新移動流覽手勢時呼叫的方法。

public static void DidUpdatePanGesture (this CarPlay.ICPMapTemplateDelegate This, CarPlay.CPMapTemplate mapTemplate, CoreGraphics.CGPoint translation, CoreGraphics.CGPoint velocity);
static member DidUpdatePanGesture : CarPlay.ICPMapTemplateDelegate * CarPlay.CPMapTemplate * CoreGraphics.CGPoint * CoreGraphics.CGPoint -> unit

參數

This
ICPMapTemplateDelegate

這個方法運作所在的 實例。

mapTemplate
CPMapTemplate

地圖的範本,其移動流覽手勢已更新。

translation
CGPoint
velocity
CGPoint

移動流覽速度。

適用於