語言

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)

傳回

同一物件,用於鏈式構造

屬性

備註

儲存一個顏色,以便在繪製此圖示時使用。

Java 文件 android.graphics.drawable.Icon.setTint(int)。

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

適用於