語言

ILocationButtonSession.SetStrokeWidth(Int32) 方法

定義

設定位置按鈕的筆劃/輪廓寬度。

[Android.Runtime.Register("setStrokeWidth", "(I)V", "GetSetStrokeWidth_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetStrokeWidth(int width);
[<Android.Runtime.Register("setStrokeWidth", "(I)V", "GetSetStrokeWidth_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetStrokeWidth : int -> unit

參數

width
Int32

想要的筆劃寬度。

屬性

備註

設定位置按鈕的筆劃/輪廓寬度。

請參見 LocationButtonRequest.Builder.setStrokeWidth(int) 以了解輸入限制。

Android 參考資料。android.app.permissionui.LocationButtonSession.setStrokeWidth

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

適用於