ImageDecoder.DecodeBitmap 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DecodeBitmap(ImageDecoder+Source) |
參見 |
| DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener) |
參見 |
DecodeBitmap(ImageDecoder+Source)
參見 #decodeBitmap(Source, OnHeaderDecodedListener)。
[Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/Bitmap;", "", ApiSince=28)]
public static Android.Graphics.Bitmap DecodeBitmap(Android.Graphics.ImageDecoder.Source src);
[<Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]
static member DecodeBitmap : Android.Graphics.ImageDecoder.Source -> Android.Graphics.Bitmap
參數
代表編碼影像。 這個值不可能為零值。
傳回
包含影像的點陣圖。 這個值不可能為零值。
- 屬性
備註
Android 參考資料。android.graphics.ImageDecoder.decodeBitmap
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)
參見 #decodeBitmap(Source, OnHeaderDecodedListener)。
[Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;Landroid/graphics/ImageDecoder$OnHeaderDecodedListener;)Landroid/graphics/Bitmap;", "", ApiSince=28)]
public static Android.Graphics.Bitmap DecodeBitmap(Android.Graphics.ImageDecoder.Source src, Android.Graphics.ImageDecoder.IOnHeaderDecodedListener listener);
[<Android.Runtime.Register("decodeBitmap", "(Landroid/graphics/ImageDecoder$Source;Landroid/graphics/ImageDecoder$OnHeaderDecodedListener;)Landroid/graphics/Bitmap;", "", ApiSince=28)>]
static member DecodeBitmap : Android.Graphics.ImageDecoder.Source * Android.Graphics.ImageDecoder.IOnHeaderDecodedListener -> Android.Graphics.Bitmap
參數
代表編碼影像。 這個值不可能為零值。
用於學習 ImageInfo 以及更改 ImageDecoder 的預設設定。 此方法會與 decodeBitmap 在同一執行緒中被呼叫,之後該方法才會回傳。 這是更改任何預設設定所必須的。 這個值不可能為零值。
傳回
包含影像的點陣圖。 這個值不可能為零值。
- 屬性
備註
Android 參考資料。android.graphics.ImageDecoder.decodeBitmap
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。