語言

ImageDecoder.DecodeBitmap 方法

定義

多載

名稱 Description
DecodeBitmap(ImageDecoder+Source)

參見 #decodeBitmap(Source, OnHeaderDecodedListener)。

DecodeBitmap(ImageDecoder+Source, ImageDecoder+IOnHeaderDecodedListener)

參見 #decodeBitmap(Source, OnHeaderDecodedListener)。

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

參數

src
ImageDecoder.Source

代表編碼影像。 這個值不可能為零值。

傳回

包含影像的點陣圖。 這個值不可能為零值。

屬性

備註

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

參數

src
ImageDecoder.Source

代表編碼影像。 這個值不可能為零值。

listener
ImageDecoder.IOnHeaderDecodedListener

用於學習 ImageInfo 以及更改 ImageDecoder 的預設設定。 此方法會與 decodeBitmap 在同一執行緒中被呼叫,之後該方法才會回傳。 這是更改任何預設設定所必須的。 這個值不可能為零值。

傳回

包含影像的點陣圖。 這個值不可能為零值。

屬性

備註

Android 參考資料。android.graphics.ImageDecoder.decodeBitmap

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

適用於