ImageDecoder.AllocatorDefault Feld

Definition

Achtung

This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.

Verwenden Sie die Standardzuordnung für den Pixelspeicher.

[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

Feldwert

Value = 0
Attribute

Hinweise

Verwenden Sie die Standardzuordnung für den Pixelspeicher.

Führt in der Regel zu einer Bitmap.Config#HARDWARE Zuordnung, kann aber software für kleine Bilder sein. Darüber hinaus wechselt dies zu Software, wenn HARDWARE nicht kompatibel ist, z. B. #setMutableRequired setMutableRequired(true) oder #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true).

Java Dokumentation für android.graphics.ImageDecoder.ALLOCATOR_DEFAULT.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: