ImageDecoder.AllocatorDefault 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.
使用像素記憶體的預設配置。
[Android.Runtime.Register("ALLOCATOR_DEFAULT", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.", true)]
public const Android.Graphics.ImageDecoderAllocator AllocatorDefault = 0;
[<Android.Runtime.Register("ALLOCATOR_DEFAULT", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.", true)>]
val mutable AllocatorDefault : Android.Graphics.ImageDecoderAllocator
欄位值
Value = 0- 屬性
備註
使用像素記憶體的預設配置。
通常會產生 Bitmap.Config#HARDWARE 分配,但也可能是針對小型影像的軟體。 此外,當硬體不相容 #setMutableRequired setMutableRequired(true)#setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true)時,例如,該系統會切換至軟體。
Java 文件 android.graphics.ImageDecoder.ALLOCATOR_DEFAULT。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。