共用方式為


Icon.SetTint(Int32) 方法

定義

儲存色彩,以在繪製此圖示時使用。

[Android.Runtime.Register("setTint", "(I)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public Android.Graphics.Drawables.Icon SetTint(int tint);
[<Android.Runtime.Register("setTint", "(I)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
member this.SetTint : int -> Android.Graphics.Drawables.Icon

參數

tint
Int32

色彩,如 中所示 Drawable#setTint(int)

傳回

這個相同的對象,用於鏈結式建構

屬性

備註

儲存色彩,以在繪製此圖示時使用。

android.graphics.drawable.Icon.setTint(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於