Icon.CreateWithData(Byte[], Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個圖示,指向儲存在位元組陣列中的壓縮點陣圖。
[Android.Runtime.Register("createWithData", "([BII)Landroid/graphics/drawable/Icon;", "", ApiSince=23)]
public static Android.Graphics.Drawables.Icon CreateWithData(byte[]? data, int offset, int length);
[<Android.Runtime.Register("createWithData", "([BII)Landroid/graphics/drawable/Icon;", "", ApiSince=23)>]
static member CreateWithData : byte[] * int * int -> Android.Graphics.Drawables.Icon
參數
- data
- Byte[]
儲存壓縮位元組資料的位元組陣列,該類型為
android.graphics.BitmapFactory 可以解碼(參見 android.graphics.Bitmap.CompressFormat)。
- offset
- Int32
偏移到 data 位圖資料起始的位置
- length
- Int32
點陣圖資料長度
傳回
- 屬性
備註
建立一個圖示,指向儲存在位元組陣列中的壓縮點陣圖。
Java 文件 android.graphics.drawable.Icon.createWithData(byte[], int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。