語言

AdaptiveIconDrawable.Foreground 屬性

定義

回傳由此類別管理的前景可繪圖。

public virtual Android.Graphics.Drawables.Drawable? Foreground { [Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getForeground", "()Landroid/graphics/drawable/Drawable;", "GetGetForegroundHandler", ApiSince=26)>]
member this.Foreground : Android.Graphics.Drawables.Drawable

屬性值

前景可繪製物件由此可繪圖物件管理

屬性

備註

回傳由此類別管理的前景可繪圖。 此繪製物的界限在左右兩側以 * getBounds().width,上下兩側#getExtraInsetFraction()則由 * getBounds().height 擴展#getExtraInsetFraction()。

Java 文件 android.graphics.drawable.AdaptiveIconDrawable.getForeground()。

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

適用於