語言

BitmapDrawable.Bitmap 屬性

定義

回傳此繪製檔用來渲染的位圖。 -或- 切換到新的點陣圖物件。

public Android.Graphics.Bitmap? Bitmap { [Android.Runtime.Register("getBitmap", "()Landroid/graphics/Bitmap;", "")] get; [Android.Runtime.Register("setBitmap", "(Landroid/graphics/Bitmap;)V", "GetSetBitmap_Landroid_graphics_Bitmap_Handler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getBitmap", "()Landroid/graphics/Bitmap;", "")>]
[<set: Android.Runtime.Register("setBitmap", "(Landroid/graphics/Bitmap;)V", "GetSetBitmap_Landroid_graphics_Bitmap_Handler", ApiSince=31)>]
member this.Bitmap : Android.Graphics.Bitmap with get, set

屬性值

屬性

備註

財產取得者文件:

回傳此繪製檔用來渲染的位圖。 可能是 Null。

Java 文件 android.graphics.drawable.BitmapDrawable.getBitmap()。

屬性設定文件:

切換到新的點陣圖物件。

Java 文件 android.graphics.drawable.BitmapDrawable.setBitmap(android.graphics.Bitmap)。

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

適用於