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