Share via


Gainmap.GainmapContents Property

Definition

Sets the image data of the gainmap.

public Android.Graphics.Bitmap GainmapContents { [Android.Runtime.Register("getGainmapContents", "()Landroid/graphics/Bitmap;", "", ApiSince=34)] get; [Android.Runtime.Register("setGainmapContents", "(Landroid/graphics/Bitmap;)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getGainmapContents", "()Landroid/graphics/Bitmap;", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setGainmapContents", "(Landroid/graphics/Bitmap;)V", "", ApiSince=34)>]
member this.GainmapContents : Android.Graphics.Bitmap with get, set

Property Value

Returns the image data of the gainmap represented as a Bitmap. This is represented as a Bitmap for broad API compatibility, however certain aspects of the Bitmap are ignored such as Bitmap#getColorSpace() or Bitmap#getGainmap() as they are not relevant to the gainmap's enhancement layer.

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.Gainmap.getGainmapContents().

Property setter documentation:

Sets the image data of the gainmap. This is the 1 or 3 channel enhancement layer to apply to the base image. This is represented as a Bitmap for broad API compatibility, however certain aspects of the Bitmap are ignored such as Bitmap#getColorSpace() or Bitmap#getGainmap() as they are not relevant to the gainmap's enhancement layer.

Java documentation for android.graphics.Gainmap.setGainmapContents(android.graphics.Bitmap).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to