Icon.SetTint(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
儲存一個顏色,以便在繪製此圖示時使用。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。