Share via


BitmapFactory 類別

定義

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

[Android.Runtime.Register("android/graphics/BitmapFactory", DoNotGenerateAcw=true)]
public class BitmapFactory : Java.Lang.Object
[<Android.Runtime.Register("android/graphics/BitmapFactory", DoNotGenerateAcw=true)>]
type BitmapFactory = class
    inherit Object
繼承
BitmapFactory
屬性

備註

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

android.graphics.BitmapFactory JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

建構函式

BitmapFactory()
BitmapFactory(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 標記法時使用的建構函式;由執行時間呼叫。

屬性

Class

傳回這個 Object 的執行時間類別。

(繼承來源 Object)
Handle

基礎 Android 實例的控制碼。

(繼承來源 Object)
JniIdentityHashCode

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
JniPeerMembers

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

PeerReference

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
ThresholdClass

此 API 支援適用于 Android 的 Mono 基礎結構,並不適合直接從您的程式碼使用。

ThresholdType

此 API 支援適用于 Android 的 Mono 基礎結構,並不適合直接從您的程式碼使用。

方法

Clone()

建立並傳回這個 物件的複本。

(繼承來源 Object)
DecodeByteArray(Byte[], Int32, Int32)

從指定的位元組陣列解碼不可變點陣圖。

DecodeByteArray(Byte[], Int32, Int32, BitmapFactory+Options)

從指定的位元組陣列解碼不可變點陣圖。

DecodeByteArrayAsync(Byte[], Int32, Int32)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeByteArrayAsync(Byte[], Int32, Int32, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeFile(String)

將檔案路徑解碼為點陣圖。

DecodeFile(String, BitmapFactory+Options)

將檔案路徑解碼為點陣圖。

DecodeFileAsync(String)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeFileAsync(String, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeFileDescriptor(FileDescriptor)

從檔案描述元解碼點陣圖。

DecodeFileDescriptor(FileDescriptor, Rect, BitmapFactory+Options)

從檔案描述元解碼點陣圖。

DecodeFileDescriptorAsync(FileDescriptor)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeFileDescriptorAsync(FileDescriptor, Rect, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeResource(Resources, Int32)

與 Null 選項同 #decodeResource(Resources, int, android.graphics.BitmapFactory.Options) 義。

DecodeResource(Resources, Int32, BitmapFactory+Options)

與 Null 選項同 #decodeResource(Resources, int, android.graphics.BitmapFactory.Options) 義。

DecodeResourceAsync(Resources, Int32)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeResourceAsync(Resources, Int32, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeResourceStream(Resources, TypedValue, Stream, Rect, BitmapFactory+Options)

從 InputStream 解碼新的點陣圖。

DecodeResourceStreamAsync(Resources, TypedValue, Stream, Rect, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeStream(Stream)

將輸入資料流程解碼為點陣圖。

DecodeStream(Stream, Rect, BitmapFactory+Options)

將輸入資料流程解碼為點陣圖。

DecodeStreamAsync(Stream)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

DecodeStreamAsync(Stream, Rect, BitmapFactory+Options)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

Dispose()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
Dispose(Boolean)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
Equals(Object)

指出其他物件是否「等於」這個物件。

(繼承來源 Object)
GetHashCode()

傳回此物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()

當垃圾收集判斷物件不再參考物件時,垃圾收集行程會在物件上呼叫。

(繼承來源 Object)
Notify()

喚醒正在等候此物件監視器的單一線程。

(繼承來源 Object)
NotifyAll()

喚醒正在等候此物件監視器的所有線程。

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
ToArray<T>()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
Wait()

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > 。 ><

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)
Wait(Int64, Int32)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)

明確介面實作

IJavaPeerable.Disposed()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.DisposeUnlessReferenced()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.Finalized()

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)

執行 Android 執行時間檢查的類型轉換。

JavaCast<TResult>(IJavaObject)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

GetJniTypeName(IJavaPeerable)

從各種來源建立 Bitmap 物件,包括檔案、資料流程和位元組陣列。

適用於